Oracle® OLAP DML Reference 10g Release 1 (10.1) Part Number B10339-02 |
|
|
View PDF |
The NVL function replaces a NA
value with a string.
To evaluate a specified expression and replace a non-NA
value with one value and a NA
value with another, use NVL2.
Return Value
The specified replacement value when the value of the base expression is NA
, or the base expression when the value of the base expression is not NA
. The data type of the return value is always the same as the data type of the base expression.
Syntax
NVL (exp , replacement-exp)
Arguments
The expression that you want to replace when it has a NA
value.
The value with which you want to replace a NA
value.