Oracle® OLAP DML Reference 10g Release 2 (10.2) Part Number B14346-01 |
|
|
View PDF |
The OKNULLSTATUS option determines whether Oracle OLAP allows a dimension status list to be set to null. The default is to not allow an empty status list. When null status lists are not allowed, Oracle OLAP produces an error message when you execute a LIMIT command that would result in a null status list.
Data type
BOOLEAN
Syntax
OKNULLSTATUS = {YES|NO}
Arguments
Indicates that null status lists are allowed. With this setting, when you execute a LIMIT command (without the IFNONE argument) that results in a dimension status list being null, the status list is set to null, and no error message is produced.
(Default) Indicates that null status lists are not allowed. With this setting, when you execute a LIMIT command (without the IFNONE argument and without the NULL keyword) that would result in a dimension status list being null, the status list is not changed and an error message is produced.
Notes
Conditions When OKNULLSTATUS Has No Effect
The value of OKNULLSTATUS has no effect in the following situations.
When a LIMIT command includes an IFNONE argument.
When a LIMIT command uses the NULL keyword to set a dimension status list to null.
When a LIMIT command sets a valueset to null (unless the IFNONE argument is used). The valueset is set to null, and no error message is produced, even when OKNULLSTATUS is NO
.
When a LIMIT function is specified to return a null dimension status list. The value returned is NA
, and no error message is produced, even when OKNULLSTATUS is NO
.
See the LIMIT command for more information about using null status in dimensions and valuesets.
Examples