Oracle 视图 ALL_ATTRIBUTE_DIM_ATTRS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_ATTRIBUTE_DIM_ATTRS视图是Oracle内部准备的用来获取属性维度中属性及对应信息的表,也就是我们常说的维度属性表,这个维度表中会包含着各种维度中的维度属性信息,比如地域维度中的市、区的信息。
使用Oracle的ALL_ATTRIBUTE_DIM_ATTRS视图可以快速查询某个维度中的属性及其对应的属性分值,范例如下:
SELECT * FROM ALL_ATTRIBUTE_DIM_ATTRS WHERE dim_name = ‘地域维度’
上述的SQL语句是用来查询地域维度下的所有属性及其分值。
官方英文解释
ALL_ATTRIBUTE_DIM_ATTRS
describes the attributes of the attribute dimensions accessible to the current user.
Related Views
-
DBA_ATTRIBUTE_DIM_ATTRS
describes the attributes of all attribute dimensions in the database. -
USER_ATTRIBUTE_DIM_ATTRS
describes the attributes of the attribute dimensions owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the attribute dimension |
|
|
|
Name of the attribute dimension |
|
|
Name of the attribute dimension attribute |
|
|
|
Alias of the table or view in the |
|
|
|
|
Name of the column in the table or view on which the attribute is defined |
|
|
|
Order of the attribute in the list of attribute dimension attributes |
|
|
The ID of the container where the data originates. Possible values include:
|
See Also:
-
“DBA_ATTRIBUTE_DIM_ATTRS”
-
“USER_ATTRIBUTE_DIM_ATTRS”