Oracle® OLAP Expression Syntax Reference Release 11.2 Part Number E23381-01 |
|
|
PDF · Mobi · ePub |
COALESCE
returns the first non-null expression in a list of expressions, or null when all of the expressions evaluate to null.
Data type of the first argument
COALESCE(expr [, expr ]...)
expr
can be any expression.
COALESCE(5, 8, 3)
returns the value 5
.
COALESCE(NULL, 8, 3)
returns the value 8
.