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

本站中文解释

ALL_CUBE_DIM_VIEW_COLUMNS 视图是 Oracle OLAP 将一个维度的信息合并到一个视图的内部视图。其中包括各个维度的标识、描述、连接条目和秩值列。此视图只用于OLAP,并且仅列出维度的标识和描述。

使用ALL_CUBE_DIM_VIEW_COLUMNS视图可以检索三种信恲,分别从标识和描述中获取关于Cube和Dimension的信息,还可以从父子连接获取一些信息,以及秩值列。可以使用如下语句检索这些结果:
SELECT * FROM ALL_CUBE_DIM_VIEW_COLUMNS;
通过使用这些查询结果,可以轻松地检索Cube中的维度信息,以及它们之间的层次关系。

官方英文解释

ALL_CUBE_DIM_VIEW_COLUMNS describes the columns of the relational views of the OLAP cube dimensions accessible to the current user.

Related Views

  • DBA_CUBE_DIM_VIEW_COLUMNS describes the columns of the relational views of all OLAP cube dimensions in the database.

  • USER_CUBE_DIM_VIEW_COLUMNS describes the columns of the relational views of the OLAP cube dimensions owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

Owner of the cube dimension

DIMENSION_NAME

VARCHAR2(128)

Name of a cube dimension, such as PRODUCT

VIEW_NAME

VARCHAR2(128)

Name of a view of the dimension, such as PRODUCT_VIEW

COLUMN_NAME

VARCHAR2(128)

Name of a column in the view, such as LONG_DESCRIPTION or WAREHOUSE_ID

COLUMN_TYPE

VARCHAR2(11)

Type of the column:

  • KEY – A key of the dimension view (that is, the dimension value itself)

  • LEVEL_NAME – Name of the level (if any) corresponding to a row in the view

  • DIM_ORDER – A column by which the results may be ordered (if present)

  • MEMBER_TYPE

  • ATTRIBUTE – An attribute owned by the dimension

OBJECT_NAME

VARCHAR2(128)

Name of the level or attribute represented in the column, such as LONG_DESCRIPTION or WAREHOUSE_ID

See Also:

  • “DBA_CUBE_DIM_VIEW_COLUMNS”

  • “USER_CUBE_DIM_VIEW_COLUMNS”


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