本站中文解释
;
Oracle视图ALL_MEASURE_FOLDER_CONTENTS是OLAP中的一个视图,用于显示当前用户可见的所有测量文件夹中的内容。它提供用户一个有效的方式来维护多维分析的内容及其支持的度量,用来显示基于测量文件夹的报表。ALL_MEASURE_FOLDER_CONTENTS视图中的主要列:FOLDER_ID(用于识别特定测量文件夹),DIMENSION_ID(识别测量文件夹内容的维度),MEASUREID(测量文件夹内容的度量),STATISTIC_ID(测量文件夹内容的统计量),VISIBLE(测量文件夹内容是否可见),DISPLAY_ORDER(用于确定测量文件夹内容在用户界面中的显示顺序)等。
使用ALL_MEASURE_FOLDER_CONTENTS视图,可以通过几个简单的SQL语句来查询特定的测量文件夹的内容,以获取所包含的维度和度量:
–获取folder_id为123的测量文件夹中的所有维度
SELECT DISTINCT dimension_id FROM all_measure_folder_contents WHERE folder_id = ‘123’;
–获取folder_id为123的测量文件夹中的所有度量
SELECT DISTINCT measure_id FROM all_measure_folder_contents WHERE folder_id = ‘123’;
–获取folder_id为123的测量文件夹中的所有统计量
SELECT DISTINCT statistic_id FROM all_measure_folder_contents WHERE folder_id = ‘123’;
官方英文解释
ALL_MEASURE_FOLDER_CONTENTS
describes the contents of the OLAP measure folders accessible to the current user.
Related Views
-
DBA_MEASURE_FOLDER_CONTENTS
describes the contents of all OLAP measure folders in the database. -
USER_MEASURE_FOLDER_CONTENTS
describes the contents of the OLAP measure folders owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the measure folder |
|
|
|
Name of a measure folder |
|
|
|
Owner of the cube |
|
|
|
Name of a cube included in the measure folder |
|
|
|
Name of a measure in the cube |
|
|
|
Order number of the measure in the folder |
See Also:
-
“DBA_MEASURE_FOLDER_CONTENTS”
-
“USER_MEASURE_FOLDER_CONTENTS”