| Oracle8i SQL Reference Release 2 (8.1.6) A76989-01 |
|
SQL Statements (continued), 4 of 17
level_clause::=
hierarchy_clause::=
join_clause::=
attribute_clause::=
To change the hierarchical relationships or dimension attributes of a dimension.
The dimension must be in your schema or you must have the ALTER ANY DIMENSION system privilege to use this statement.
A dimension is always altered under the rights of the owner.
The following keywords and parameters have meaning unique to ALTER DIMENSION. The remaining keywords and parameters have the same functionality that they have in the CREATE DIMENSION statement. See "CREATE DIMENSION".
This example modifies the TIME dimension:
ALTER DIMENSION time DROP HIERARCHY week_month; ALTER DIMENSION time DROP ATTRIBUTE cur_date; ALTER DIMENSION time ADD LEVEL day IS time_tab.t_day ADD ATTRIBUTE day DETERMINES t_holiday;
|
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|