欢迎来到天天文库
浏览记录
ID:37711224
大小:81.50 KB
页数:6页
时间:2019-05-29
《Oracle数据字典详解》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、以下表格中收集了Oracle数据字典中几乎所有的视图或别名,至于每个视图或别名的字段请用‘Describe’语句来查询。 命名说明: Oracle数据字典中,对象名称多数以"USER.","ALL.","DBA."为前缀"USER."视图中记录通常记录执行查询的帐户所拥有的对象的信息,"ALL."视图中记录包括"USER"记录和授权至PUBLIC或用户的对象的信息,"DBA."视图包含所有数据库对象,而不管其所有者。 使用举例: select*fromdba_data_files 查询表空间的信息(当前用户必须拥有DBA角色)。 se
2、lectowner,object_name,object_typefromall_objects 查询某一用户下的所有表、过程、函数等信息。视图名描述ALL_CATALOGAlltables,views,synonyms,sequencesaccessibletotheuserALL_COL_COMMENTSCommentsoncolumnsofaccessibletablesandviewsALL_COL_GRANTS_MADEGrantsoncolumnsforwhichtheuserisownerorgrantorALL_COL_GRAN
3、TS_RECDGrantsoncolumnsforwhichtheuserorPUBLICisthegranteeALL_COL_PRIVSGrantsoncolumnsforwhichtheuseristhegrantor,grantee,owner,oranenabledroleorPUBLICisthegranteeALL_COL_PRIVS_MADEGrantsoncolumnsforwhichtheuserisownerorgrantorALL_COL_PRIVS_RECDGrantsoncolumnsforwhichtheuser,P
4、UBLICorenabledroleisthegranteeALL_CONSTRAINTSConstraintdefinitionsonaccessibletablesALL_CONS_COLUMNSInformationaboutaccessiblecolumnsinconstraintdefinitionsALL_DB_LINKSDatabaselinksaccessibletotheuserALL_DEF_AUDIT_OPTSAuditingoptionsfornewlycreatedobjectsALL_DEPENDENCIESDepen
5、denciestoandfromobjectsaccessibletotheuserALL_ERRORSCurrenterrorsonstoredobjectsthatuserisallowedtocreateALL_INDEXESDescriptionsofindexesontablesaccessibletotheuserALL_IND_COLUMNSCOLUMNscomprisingINDEXesonaccessibleTABLESALL_OBJECTSObjectsaccessibletotheuserALL_REFRESHAllther
6、efreshgroupsthattheusercantouchALL_REFRESH_CHILDRENAlltheobjectsinrefreshgroups,wheretheusercantouchthegroupALL_SEQUENCESDescriptionofSEQUENCEsaccessibletotheuserALL_SNAPSHOTSSnapshotstheusercanlookatALL_SOURCECurrentsourceonstoredobjectsthatuserisallowedtocreateALL_SYNONYMSA
7、llsynonymsaccessibletotheuserALL_TABLESDescriptionoftablesaccessibletotheuserALL_TAB_COLUMNSColumnsofalltables,viewsandclustersALL_TAB_COMMENTSCommentsontablesandviewsaccessibletotheuserALL_TAB_GRANTS_MADEUser'sgrantsandgrantsonuser'sobjectsALL_TAB_GRANTS_RECDGrantsonobjectsf
8、orwhichtheuserorPUBLICisthegranteeALL_TAB_PRIVSGrantsonobjectsforwhi
此文档下载收益归作者所有