Oracle 视图 ALL_CUBE_CALCULATED_MEMBERS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_CUBE_CALCULATED_MEMBERS 表组成了一个静态的,现有的计算成员的视图,这些成员可以分解到ALL_CUBE_CALCULATIONS 子视图。这个视图可以帮助查看某个cube里定义的计算及其关联维度成员。
使用ALL_CUBE_CALCULATED_MEMBERS视图可以实现查看Oracle cube上定义的计算及其关联维度成员,以便便于进行定制化的查询、编辑等操作。
使用例子:假设当前cube叫CUBE_A,要查询它里面定义的计算成员,可以使用以下语句:
SELECT * FROM ALL_CUBE_CALCULATED_MEMBERS WHERE CUBE_NAME=’CUBE_A’;
官方英文解释
ALL_CUBE_CALCULATED_MEMBERS
describes the calculated members for the OLAP cube dimensions accessible to the current user.
Related Views
-
DBA_CUBE_CALCULATED_MEMBERS
describes the calculated members for all OLAP cube dimensions in the database. -
USER_CUBE_CALCULATED_MEMBERS
describes the calculated members for the OLAP cube dimensions owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the cube dimension |
|
|
|
Name of a cube dimension |
|
|
|
Name of a calculated member in the cube dimension |
|
|
Indicates whether the calculated member is a custom aggregate ( |
|
|
|
Storage type of the calculated member:
|
|
|
|
Expression used to generate the value of the calculated member |
See Also:
-
“DBA_CUBE_CALCULATED_MEMBERS”
-
“USER_CUBE_CALCULATED_MEMBERS”