|Oracle® OLAP DML Reference
11g Release 1 (11.1)
|PDF · Mobi · ePub|
Tip:Use INSTAT to determine whether a value of a dimension is in the current status of the dimension.
The name of the dimension or the composite to be checked.
When the composite is unnamed, use the SPARSE keyword to refer to the composite (for example,
SPARSE <market product>).
The value you want to test, either a text literal or text expression for an ID or TEXT dimension, an
INTEGER for an INTEGER dimension, or a combination of values enclosed by angle brackets for composites and conjoint dimensions.
Suppose you want to find out if
Packs is a value of the
product dimension. The following statement produces the answer
SHOW ISVALUE(product, 'Packs')
You can test for the logical position numbers of base dimension values in a conjoint dimension. For example, suppose
product are the base dimensions of the conjoint dimension
markprod. The following statement tests whether or not there is a value assigned to the combination of the fourth
market dimension value and the third
product dimension value.
SHOW ISVALUE(markprod, '<4 3>')