Oracle 视图 ALL_ATTRIBUTE_DIM_LEVEL_ATTRS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_ATTRIBUTE_DIM_LEVEL_ATTRS(所有属性维度级别属性)是一个视图,它显示Oracle多维数据库(MDB)中每个属性维度及公式维度级别的初始属性。它还列出这些属性的公式定义和格式。
通过ALL_ATTRIBUTE_DIM_LEVEL_ATTRS视图可以定义属性维度级别类型,设置属性维度单元格类型,应用维度限制属性和设置默认值等功能。使用此视图可以使Oracle多维数据库中的特定属性配置为所需的格式。
使用ALL_ATTRIBUTE_DIM_LEVEL_ATTRS试图的事项步骤:
1. 使用SELECT语句从ALL_ATTRIBUTE_DIM_LEVEL_ATTRS视图中检索给定属性的内容:
SELECT ATTRIBUTE_NAME, ATTRIBUTE_TYPE,
ATTRIBUTE_DEFAULT, ATTRIBUTE_FORMAT
FROM ALL_ATTRIBUTE_DIM_LEVEL_ATTRS
WHERE ATTRIBUTE_NAME=‘YourAttributeName’;
2. 使用UPDATE语句更新给定属性的内容:
UPDATE ALL_ATTRIBUTE_DIM_LEVEL_ATTRS
SET ATTRIBUTE_FORMAT=‘YourFormat’
WHERE ATTRIBUTE_NAME=‘YourAttributeName’;
3. 使用INSERT语句向ALL_ATTRIBUTE_DIM_LEVEL_ATTRS视图中插入新属性:
INSERT INTO ALL_ATTRIBUTE_DIM_LEVEL_ATTRS(ATTRIBUTE_NAME,
ATTRIBUTE_TYPE, ATTRIBUTE_DEFAULT,
ATTRIBUTE_FORMAT)
VALUES(‘YourAttributeName’, ‘YourAttributeType’,
‘YourDefaultValue’, ‘YourFormat’);
4. 使用DELETE语句从ALL_ATTRIBUTE_DIM_LEVEL_ATTRS视图中删除给定属性:
DELETE FROM ALL_ATTRIBUTE_DIM_LEVEL_ATTRS
WHERE ATTRIBUTE_NAME=‘YourAttributeName’;
官方英文解释
ALL_ATTRIBUTE_DIM_LEVEL_ATTRS
describes the attributes of the levels of the attribute dimensions accessible to the current user.
Related Views
-
DBA_ATTRIBUTE_DIM_LEVEL_ATTRS
describes the attributes of the levels of all attribute dimensions in the database. -
USER_ATTRIBUTE_DIM_LEVEL_ATTRS
describes the attributes of the levels 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 level |
|
|
|
Name of the attribute determined by the level |
|
|
|
Role of the attribute determined by the level |
|
|
|
Indicates whether the attribute is minimally determined ( |
|
|
|
Order of the attribute in the list of attributes determined by the level |
|
|
|
The ID of the container where the data originates. Possible values include:
|
See Also:
-
“DBA_ATTRIBUTE_DIM_LEVEL_ATTRS”
-
“USER_ATTRIBUTE_DIM_LEVEL_ATTRS”