Oracle 视图 ALL_METADATA_PROPERTIES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图ALL_METADATA_PROPERTIES列出当前用户或其权限范围内的所有元素的元数据属性,它可以帮助我们获取到元数据信息。例如可以查看某张表的字段名、字段数据类型、列名等等。
基本语法如下:
SELECT *
FROM all_metadata_properties;
使用此视图,我们可以查询出当前用户拥有权限的所有表、视图、存储过程、函数等的元数据信息,例如:
SELECT object_name, object_type, created
FROM all_metadata_properties
WHERE object_type IN (‘TABLE’, ‘VIEW’);
官方英文解释
ALL_METADATA_PROPERTIES
describes OLAP metadata properties in the database that are accessible to the current user.
Related Views
-
DBA_METADATA_PROPERTIES
describes OLAP metadata properties in the database. -
USER_METADATA_PROPERTIES
describes OLAP metadata properties in the current user’s schema. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the OLAP metadata property |
|
|
|
Dictionary ID of the OLAP metadata property owner |
|
|
|
Owning type of the OLAP metadata property |
|
|
|
Dictionary Id of the OLAP metadata property |
|
|
|
Key of the OLAP metadata property |
|
|
|
Value of the OLAP metadata property |
|
|
|
Order number of the OLAP metadata property |
See Also:
-
“DBA_METADATA_PROPERTIES”
-
“USER_METADATA_PROPERTIES”