freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

oracle有用資料-文庫吧

2025-06-14 07:44 本頁面


【正文】 xay_id on xay(a) pctfree 30 storage( initial 200k next 200k  sql pctincrease 0 maxextents 50) tablespace indx?! ?storage parameter of index  sql alter index xay_id storage (next 400k maxextents 100)?! ?index space  sql alter index xay_id allocate extent(size 200k datafile 39。c:/oracle/39。)。   index xay_id deallocate unused。l 第五章:約束   constraints as immediate or deferred  sql alter session set constraint[s] = immediate/deferred/default?! et constraint[s] constraint_name/all immediate/deferred?! ?. sql drop table table_name cascade constraints  sql drop tablespace tablespace_name including contents cascade constraints  3. define constraints while create a table  sql create table xay(id number(7) constraint xay_id primary key deferrable  sql using index storage(initial 100k next 100k) tablespace indx)。  primary key/unique/references table(column)/check   constraints  sql alter table xay enable novalidate constraint xay_id?! ?constraints  sql alter table xay enable validate constraint xay_id。l 第六章:LOAD數(shù)據(jù)   data using direct_load insert  sql insert /*+append */ into emp nologging  sql select * from emp_old?! ?directload insert  sql alter session enable parallel dml?! ql insert /*+parallel(emp,2) */ into emp nologging  sql select * from emp_old。   sql*loader  sql sqlldr scott/tiger \  sql control = \  sql log = direct=truel 第七章:數(shù)據(jù)整理   expoty  $exp scott/tiger tables(dept,emp) file=c:\ log= press=n direct=y   import  $imp scott/tiger tables(dept,emp) file= log= ignore=y   a tablespace  sqlalter tablespace sales_ts read only。  $exp sys/.. file= transport_tablespace=y tablespace=sales_ts  triggers=n constraints=n  $copy datafile  $imp sys/.. file= transport_tablespace=y datafiles=(/disk1/,/disk2  /)  sql alter tablespace sales_ts read write。   transport set  sql (ts_list =39。sales_ts39。 ..,incl_constraints=true)?! ≡诒韙ransport_set_violations 中查看  sql 為true 是, 表示自包含一、ORACLE的啟動和關(guān)閉在單機環(huán)境下要想啟動或關(guān)閉ORACLE系統(tǒng)必須首先切換到ORACLE用戶,如下suoraclea、啟動ORACLE系統(tǒng)oraclesvrmgrlSVRMGRconnectinternalSVRMGRstartupSVRMGRquitb、關(guān)閉ORACLE系統(tǒng)oraclesvrmgrlSVRMGRconnectinternalSVRMGRshutdownSVRMGRquit啟動oracle9i數(shù)據(jù)庫命令:$sqlplus/nologSQL*Plus:ReleaseProductiononFriOct3113:53:532003Copyright(c)1982,2002,OracleCorporation.Allrightsreserved.SQLconnect/assysdbaConnectedtoanidleinstance.SQLstartup^CSQLstartupORACLEinstancestarted.在雙機環(huán)境下要想啟動或關(guān)閉ORACLE系統(tǒng)必須首先切換到root用戶,如下su-roota、啟動ORACLE系統(tǒng)hareg-yoracleb、關(guān)閉ORACLE系統(tǒng)hareg-noracleOracle數(shù)據(jù)庫有哪幾種啟動方式說明:有以下幾種啟動方式:startupnomount非安裝啟動,這種方式啟動下可執(zhí)行:重建控制文件、重建數(shù)據(jù)庫,啟動instance,即啟動SGA和后臺進程。startupmountdbname安裝啟動,這種方式啟動下可執(zhí)行:數(shù)據(jù)庫日志歸檔、數(shù)據(jù)庫介質(zhì)恢復(fù)、使數(shù)據(jù)文件聯(lián)機或脫機,重新定位數(shù)據(jù)文件、重做日志文件。執(zhí)行“nomount”,然后打開控制文件,確認數(shù)據(jù)文件和聯(lián)機日志文件的位置,但此時不對數(shù)據(jù)文件和日志文件進行校驗檢查。startupopendbname先執(zhí)行“nomount”,然后執(zhí)行“mount”,再打開包括Redolog文件在內(nèi)的所有數(shù)據(jù)庫文件,這種方式下可訪問數(shù)據(jù)庫中的數(shù)據(jù)。startup,等于以下三個命令startupnomountalterdatabasemountalterdatabaseopenstartuprestrict約束方式啟動這種方式能夠啟動數(shù)據(jù)庫,但只允許具有一定特權(quán)的用戶訪問非特權(quán)用戶訪問時,會出現(xiàn)以下提示:ERROR:ORA01035:ORACLE只允許具有RESTRICTEDSESSION權(quán)限的用戶使用startupforce強制啟動方式當(dāng)不能關(guān)閉數(shù)據(jù)庫時,可以用startupforce來完成數(shù)據(jù)庫的關(guān)閉先關(guān)閉數(shù)據(jù)庫,再執(zhí)行正常啟動數(shù)據(jù)庫命令startuppfile=參數(shù)文件名帶初始化參數(shù)文件的啟動方式先讀取參數(shù)文件,再按參數(shù)文件中的設(shè)置啟動數(shù)據(jù)庫例:startuppfile=E:startupEXCLUSIVE二、用戶如何有效地利用數(shù)據(jù)字典 ORACLE的數(shù)據(jù)字典是數(shù)據(jù)庫的重要組成部分之一,它隨著數(shù)據(jù)庫的產(chǎn)生而產(chǎn)生,隨著數(shù)據(jù)庫的變化而變化,體現(xiàn)為sys用戶下的一些表和視圖。數(shù)據(jù)字典名稱是大寫的英文字符。數(shù)據(jù)字典里存有用戶信息、用戶的權(quán)限信息、所有數(shù)據(jù)對象信息、表的約束條件、統(tǒng)計分析數(shù)據(jù)庫的視圖等。我們不能手工修改數(shù)據(jù)字典里的信息?! 『芏鄷r候,一般的ORACLE用戶不知道如何有效地利用它?! ictionary   全部數(shù)據(jù)字典表的名稱和解釋,它有一個同義詞dictdict_column  全部數(shù)據(jù)字典表里字段名稱和解釋如果我們想查詢跟索引有關(guān)的數(shù)據(jù)字典時,可以用下面這條SQL語句:SQLselect*fromdictionarywhereinstr(ments,39。index39。)0。如果我們想知道user_indexes表各字段名稱的詳細含義,可以用下面這條SQL語句:SQLselectcolumn_name,mentsfromdict_columnswheretable_name=39。USER_INDEXES39。依此類推,就可以輕松知道數(shù)據(jù)字典的詳細名稱和解釋,不用查看ORACLE的其它文檔資料了。下面按類別列出一些ORACLE用戶常用數(shù)據(jù)字典的查詢使用方法。用戶查看當(dāng)前用戶的缺省表空間SQLselectusername,default_tablespacefromuser_users。查看當(dāng)前用戶的角色SQLselect*fromuser_role_privs。查看當(dāng)前用戶的系統(tǒng)權(quán)限和表級權(quán)限SQLselect*fromuser_sys_privs。SQLselect*fromuser_tab_privs。表查看用戶下所有的表SQLselect*fromuser_tables。16
點擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1