Oracle 视图 ALL_HIER_LEVELS_AE 官方解释,作用,如何使用详细说明

本站中文解释

ALL_HIER_LEVELS_AE视图是Oracle提供的代表分析外部表存储结构层次结构的一个视图。通过它,可以直接查询分析外部表存储结构层次结构的信息,包括层次号、父层次号、层次的列和事实表的列等。

使用ALL_HIER_LEVELS_AE视图,可以查询分析外部表存储结构层次结构的信息,以及分析外部表存储层次数量,统计层次的列等。通过ALL_HIER_LEVELS_AE视图,可以简便易用地查询分析外部表存储结构层次结构的信息。

要使用ALL_HIER_LEVELS_AE视图,可以通过SELECT语句查询其中信息,例如:SELECT * FROM ALL_HIER_LEVELS_AE WHERE TABLE_NAME=’table_name’; 其中,table_name表示要查询的分析外部表存储结构层次结构的名称。

此外,也可以通过其他数据库视图来查询ALL_HIER_LEVELS_AE视图,例如:SELECT column1,column2 FROM DBA_HIER_LEVELS_AE WHERE TABLE_NAME=’table_name’;

官方英文解释

ALL_HIER_LEVELS_AE describes the levels of the hierarchies (across all editions) accessible to the current user.

Related Views

  • DBA_HIER_LEVELS_AE describes the levels of all hierarchies (across all editions) in the database.

  • USER_HIER_LEVELS_AE describes the levels of the hierarchies (across all editions) owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

NOT NULL

Owner of the hierarchy

HIER_NAME

VARCHAR2(128)

NOT NULL

Name of the hierarchy

LEVEL_NAME

VARCHAR2(128)

NOT NULL

Name of hierarchy level

ORDER_NUM

NUMBER

NOT NULL

Order of the level in the list of hierarchy levels

ORIGIN_CON_ID

NUMBER

The ID of the container where the data originates. Possible values include:

  • 0: This value is used for rows in non-CDBs. This value is not used for CDBs.

  • n: This value is used for rows containing data that originate in the container with container ID n (n = 1 if the row originates in root).

EDITION_NAME

VARCHAR2(128)

 

Name of the application edition where the hierarchy is defined

Note:

This view is available starting with Oracle Database release 21c, version 21.5.

See Also:

  • “DBA_HIER_LEVELS_AE”

  • “USER_HIER_LEVELS_AE”


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