Time of Update: 2016-03-30
標籤: 使用DBCA建庫,Global Database Name為:prod.origtec.com SID:prod An Oracle database is uniquely identified by a Global Database Name,typically of the form “name.domain” Global Database Name: A database is referenced by at
Time of Update: 2016-03-30
標籤:建立使用者 oracle對錶空間 USERS 無許可權alter user 使用者名稱 quota unlimited on users; //建立暫存資料表空間create temporary tablespace test_temp tempfile ‘E:/oracle/product/10.2.0/oradata/testserver/test_temp01.dbf‘ size 32m autoextend
Time of Update: 2016-03-30
標籤:oracle中如何刪除使用者?Oracle中使用DROP USER來刪除使用者,如果使用DROP USER CASCADE那麼使用者的對象也同時被刪除掉。為了達到刪除使用者的效果而又不影響對使用者下的對象的使用可以使用alter user username account lock將使用者鎖定。 用命令建立資料表空間、使用者,並為使用者授權、收回許可權。Create tablespace tabllespacenameDatafile ‘f:\
Time of Update: 2016-03-30
標籤:如果用11g的用戶端,然後通過odbc(遠端連線)串連10g的oracle,會出現監聽程式無法啟動(ORA-12541: TNS: 無監聽程式)此時需要在用戶端目錄中D:\instantclient_11_2 加入tnsnames.ora檔案。在該檔案中相應內容:test = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL =
Time of Update: 2016-03-29
標籤:在oracle資料庫中為一張表添加一個欄位: alter table tableName add ClIENT_OS varchar2(20) default ‘0‘ not null ;在oracle資料庫中添加多個欄位: alter table tableName add (name varchar2(30) default ‘無名氏‘ not null,age number default 0 not
Time of Update: 2016-03-29
標籤:oracle adf11g: am 代碼返回資料庫物件數組圖解:650) this.width=650;" src="http://s1.51cto.com/wyfs02/M00/7E/3B/wKioL1b6RczRNbsDAABNDtUNMos497.png" style="float:none;" title="1.png" alt="wKioL1b6RczRNbsDAABNDtUNMos497.png" />650) this.width=650;" src="http://s1.5
Time of Update: 2016-03-30
標籤:模糊查詢是資料庫查詢中經常用到的,一般常用的格式如下:(1)欄位 like ‘%關鍵字%‘ 欄位包含"關鍵字“的記錄 即使在目標欄位建立索引也不會走索引,速度最慢 (2)欄位 like ‘關鍵字%‘ 欄位以"關鍵字"開始的記錄 可以使用到在目標欄位建立的升序索引(3)欄位 like
Time of Update: 2016-03-30
標籤:該配置是在windows 7 32位下進行的,程式已經通過了測試(使用VBS進行的測試)1.檔案下載--------------------------------------------------------------------------http://www.oracle.com/technetwork/topics/winsoft-085727.html需要下載兩個檔案 instantclient-basic-nt-12.1.0.2.0.zip
Time of Update: 2016-03-29
標籤:oracle adf11g: vo rowfinder圖解:650) this.width=650;" src="http://s1.51cto.com/wyfs02/M02/7E/37/wKioL1b6H1iBrQXeAACDFHtuFR0203.png" style="float:none;" title="1.png" alt="wKioL1b6H1iBrQXeAACDFHtuFR0203.png" />650) this.width=650;"
Time of Update: 2016-03-30
標籤: Oracle 四個表的 emp dept salgrade bunus
Time of Update: 2016-03-29
標籤:oracle adf11g:預存程序傳入資料庫物件圖解:650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/7E/3D/wKiom1b6MnOzbofJAADb6ixi0oU250.png" style="float:none;" title="1.png" alt="wKiom1b6MnOzbofJAADb6ixi0oU250.png" />650) this.width=650;"
Time of Update: 2016-03-29
標籤:oracle adf11g:am 預存程序傳入資料庫物件數組圖解:650) this.width=650;" src="http://s1.51cto.com/wyfs02/M00/7E/3A/wKioL1b6N_ngz_LiAAEDbMFF_uU202.png" style="float:none;" title="1.png" alt="wKioL1b6N_ngz_LiAAEDbMFF_uU202.png" />650) this.width=650;" src="http://s3.
Time of Update: 2016-03-29
標籤: Oracle預存程序基本文法 預存程序 1 CREATE OR REPLACE PROCEDURE 預存程序名 2 IS 3 BEGIN 4 NULL; 5 END; 行1: CREATE OR REPLACE PROCEDURE 是一個SQL語句通知Oracle資料庫去建立一個叫做skeleton預存程序, 如果存在就覆蓋它; 行2: IS關鍵詞表明後面將跟隨一個PL/SQL體。 行3: BEGIN關鍵詞表明PL/SQL體的開始。 行4:
Time of Update: 2016-03-29
標籤:oracle adf11g: vo sql中存在綁定in查詢圖解:650) this.width=650;" src="http://s5.51cto.com/wyfs02/M01/7E/36/wKioL1b6FXeBpnESAACeIOPUftI561.png" style="float:none;" title="1.png" alt="wKioL1b6FXeBpnESAACeIOPUftI561.png" />650) this.width=650;" src="http://s5.
Time of Update: 2016-03-29
標籤:使用系統sys或者dba許可權的賬戶建立視圖如下:1. 主要從資料庫的表dba_data_files,dba_segments兩張表中擷取。2. 預設資料庫儲存的是byte單位,轉換關係如下: 1024bytes = 1kb 1024KB = 1M 1024M = 1GCREATE OR REPLACE VIEW V_GET_DISKSPACE ASSELECT A.TABLESPACE_NAME,A.USE "USED (MB)",(B.TOTAL-A.USE)
Time of Update: 2016-03-29
標籤:create or replace function real_st_astext( geom in clob) return clobis geometry clob; tempGeom clob;begin geometry := upper(geom); if geom like ‘(((%‘ then geometry := ‘MULTIPOLYGON‘||geom; else if geom like ‘((%‘
Time of Update: 2016-03-29
標籤:[Oracle] Lob介紹 像Oracle這種關係型資料庫,比較擅長處理結構化的資料,那麼對於非結構化的資料,Oracle是怎麼處理和儲存的呢?Lob (Large Object)是Oracle專門用來處理半結構化和非結構化資料,它是一個大對象資料類型,可以儲存超過4000位元組的字串、位元據。 Lob的類型有兩種Lob,非常是Internal Lob和External Lob。所謂Internal
Time of Update: 2016-03-29
標籤:--sde使用者登陸執行以下語句grant insert, update, delete on sde.table_registry to PUBLIC;grant insert, update, delete on sde.column_registry to PUBLIC;grant insert, update, delete on sde.geometry_columns to PUBLIC;grant insert, update, delete on sde.layers
Time of Update: 2016-03-30
牛刀小試Oracle之ORACLE 11GR2 RAC安裝配置--先決設定階段基於VMwarevCenter Server中的Linux RedHat 6.4 安裝Oracle 11GR2 11.2.0.4 RAC叢集1.網路規劃 其中public和private要劃分到不同的網段。保證安全傳輸[root@Zracnode1~]# cat /etc/hosts127.0.0.1 localhost localhost.localdomain
Time of Update: 2016-03-30
牛刀小試Oracle之ORACLE 11GR2 RAC安裝配置--GI安裝配置1.安裝Grid Infrastructure軟體1.1 部署軟體包,如下所示:曾經有部電影叫:七劍下天山。這裡Oracle的軟體包,就是Oracle七件套,只要錢三件,可以完成Oracle rac的部署[root@Zracnode1 software]# pwd/u01/software[root@Zracnode1 software]# ls -l