admin 管理员组文章数量: 887021
2024年2月7日发(作者:web测试是网页测试吗)
alter any rolealter any rulealter any rule setalter any sequencealter any snapshotalter any tablealter any triggeralter any typealter databasealter profilealter resource costalter rollback segmentalter sessionalter systemalter tablespacealter useranalyze anyaudit anyaudit systembackup any table
debug any proceduredebug connect sessiondelete any tabledequeue any queuedrop any clusterdrop any contextdrop any dimensiondrop any directorydrop any evaluation contextdrop any indexdrop any indextypedrop any librarydrop any operatordrop any outlinedrop any proceduredrop any roledrop any ruledrop any rule setdrop any sequencedrop any snapshotdrop any synonymdrop any tabledrop any triggerdrop any typedrop any viewdrop profiledrop public database linkdrop public synonymdrop rollback segmentdrop tablespace
become usercomment any tablecreate any clustercreate any contextcreate any dimensioncreate any directorycreate any evaluation contextcreate any indexcreate any indextypecreate any librarycreate any operatorcreate any outlinecreate any procedurecreate any rulecreate any rule setcreate any sequencecreate any snapshotcreate any synonymcreate any tablecreate any triggercreate any typecreate any viewcreate clustercreate database linkcreate dimensioncreate evaluation contextcreate indextypecreate librarycreate operatorcreate procedurecreate profilecreate public database linkcreate public synonymcreate rolecreate rollback segmentcreate rulecreate rule setcreate sequencecreate sessioncreate usercreate view
drop userenqueue any queueexecute any evaluation contextexecute any indextypeexecute any libraryexecute any operator
CONNECTCTXAPPDBADELETE_CATALOG_ROLEEJBCLIENTEXECUTE_CATALOG_ROLEEXP_FULL_DATABASEGATHER_SYSTEM_STATISTICSHS_ADMIN_ROLEWKUSERWM_ADMIN_ROLEXDBADMIN
3、权限增加和收回
IMP_FULL_DATABASEJAVADEBUGPRIVJAVAIDPRIVJAVASYSPRIVJAVAUSERPRIVJAVA_ADMINJAVA_DEPLOYLOGSTDBY_ADMINISTRATOROEM_MONITORRECOVERY_CATALOG_OWNERRESOURCESALES_HISTORY_ROLESELECT_CATALOG_ROLEgrant privilege_name to role_namerevoke privilege_name from role_name
1、单表创建直接创建Create table table_name(
(增加权限)(收回权限)
字段 1类型 1,字段 2类型 2,、、、、、字段 n类型 n) tablespace_name;
局部索引create index index_name on table_name (column)local(partition partition_name1 tablespace index_tablespace_name1,partition partition_name2 tablespace index_tablespace_name2,partition partition_name3 tablespace index_tablespace_name3)全局索引create [unique] index index_name on table_name(column)global partition by range(column)(partition partition_name1 value less than(first range value) tablespaceindex_tablespace_name1,partition partition_name2 value less than(second range value) tablespaceindex_tablespace_name 2,、、、、、、、partition partition_nameN value less than(maxvalue) tablespace index_tablespace_nameN)
create [unique] index index_name on table_name(column,[column2])global partition by hash(column,[column2])(partition partition_name1 tablespace index_tablespace_name1,partition partition_name2 tablespace index_tablespace_name 2,、、、、、、、、partition partition_nameN tablespace index_tablespace_nameN)
索引重建:alter index index_name rebuild tablespace tablespace_name nologging online parallel 4;alter index index_name noparallel;
索引删除:drop index index_name;
索引查看:索引相关信息select owner,index_name,table_name,tablespace_name,index_type,degree,status fromdba_indexes;
索引列对照信息select index_name,table_name,column_name,index_owner,table_owner fromdba_ind_columns;索引存储信息select index_name,pct_free,pct_increase,initial_extent,next_extent,min_extents,max_extentsfrom dba_indexes;
版权声明:本文标题:Oracle笔试题库附参考答案 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/free/1707265150h513162.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论