Oracle 视图 DBA_ATTRIBUTE_DIM_LVL_ATRS 官方解释,作用,如何使用详细说明
本站中文解释
查询
Oracle视图DBA_ATTRIBUTE_DIM_LVL_ATRS是属性维度层级属性视图。它不仅可以用来展示属性维度层次中具体属性的数据,而且可以根据维度、层次和属性查询指定范围内的查询结果。
使用DBA_ATTRIBUTE_DIM_LVL_ATRS视图可以查询到特定维度、层次和属性,所以可以根据以下SQL语句查询:
SELECT DIM_NAME,LVL_NAME,ATTR_NAME
FROM DBA_ATTRIBUTE_DIM_LVL_ATRS
WHERE DIM_NAME = ‘维度名’
AND LVL_NAME = ‘层级名’
AND ATTR_NAME = ‘属性名’;
要查询指定范围内的结果,可以添加其他查询条件(如时间范围),并按照条件进行筛选。例如:
SELECT DIM_NAME,LVL_NAME,ATTR_NAME
FROM DBA_ATTRIBUTE_DIM_LVL_ATRS
WHERE DIM_NAME = ‘维度名’
AND LVL_NAME = ‘层级名’
AND ATTR_NAME = ‘属性名’
AND ATTR_VALUE > 10;
官方英文解释
DBA_ATTRIBUTE_DIM_LVL_ATRS
is identical to DBA_ATTRIBUTE_DIM_LEVEL_ATTRS
.
Note:
This view is available starting with Oracle Database release 21c, version 21.5.
See Also:
“DBA_ATTRIBUTE_DIM_LEVEL_ATTRS”