Oracle9i OLAP Developer's Guide to the OLAP DML Release 2 (9.2) Part Number A95298-01 |
|
Selecting Data, 2 of 13
The current status list of a dimension is an ordered list of currently accessible values for the dimension. Values that are in the current status list of a dimension are said to be "in status." The current status list of a dimension determines the selection of the data from all of the objects that are dimensioned by it.
For dimensions, only those dimension values that are in the current status list are accessed. For dimensioned objects, only those data values that are indexed by dimension values in the current status list are accessed.
As a loop is performed through a dimensioned object, the order of the dimension values in the current status list is used to determine the order in which the values of the object are accessed.
Whether or not a dimension value is in status merely restricts your view of the value during a given session; it does not permanently affect the values that are stored in the analytic workspace.
When you first attach an analytic workspace, the current status list of each dimension consists of all of the values of the dimension that have read permission, in the order in which the values are stored. This list of values is called the default status list for the dimension.
A status list of a dimension surrogate is the same as the status list of its dimension. A surrogate does not have a current or default status list separate from its dimension.
You can change the current status list for a dimension by using:
LIMIT
command to change the values and the order of the values in the current status list of a dimension.SORT
command to arrange the order of values in the current status list of a dimension.You can change the default status list of a dimension in the following ways:
MAINTAIN
command. However, with a concat dimension you use the MAINTAIN
command only to move its values to a different order in the dimension.PERMIT
command or the PERMITRESET
command.
See Also:
|
You can use the following commands and functions to identify and retrieve the status of dimension values.
You can save the current status of a dimension in the following ways.
DEFINE VALUESET
command to define the valueset.PUSHLEVEL
and PUSH
commands. You can restore the current status values using the POPLEVEL
and POP
commands.CONTEXT
command to define the context.Contexts are the most sophisticated way to save object values for use in an analytic workspace. With contexts, you can access, update, and commit the saved object values. In contrast, PUSH
and POP
simply allow you to save and restore values. Typically, you only used the PUSH
and POP
commands within a program to make changes that apply only during the program execution.
See Also:
"Preserving the Session Environment" for more information about saving environment settings. |
|
Copyright © 2001, 2002 Oracle Corporation. All Rights Reserved. |
|