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 the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

Owner of the OLAP metadata property

OWNING_OBJECT_ID

NUMBER

Dictionary ID of the OLAP metadata property owner

OWNING_TYPE

VARCHAR2(23)

Owning type of the OLAP metadata property

PROPERTY_ID

NUMBER

Dictionary Id of the OLAP metadata property

PROPERTY_KEY

VARCHAR2(128)

Key of the OLAP metadata property

PROPERTY_VALUE

CLOB

Value of the OLAP metadata property

PROPERTY_ORDER

NUMBER

Order number of the OLAP metadata property

See Also:

  • “DBA_METADATA_PROPERTIES”

  • “USER_METADATA_PROPERTIES”


数据运维技术 » Oracle 视图 ALL_METADATA_PROPERTIES 官方解释,作用,如何使用详细说明