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