2.159 ALL_HIER_LEVELS

ALL_HIER_LEVELS describes the levels of the hierarchies accessible to the current user.

Related Views

  • DBA_HIER_LEVELS describes the levels of all hierarchies in the database.

  • USER_HIER_LEVELS describes the levels of the hierarchies 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).

Note:

This view is available starting with Oracle Database 12c Release 2 (12.2.0.1).