欢迎光临
我们一直在努力

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”

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。