VALUE(x,y,...)
VALUE(x,y,...)
is a special function that can be used to replace NULL
values with a non-NULL
value.
The arguments (expressions) of the VALUE
function
must be comparable. The expressions are evaluated one after the other in the
specified order.
x, y, ... |
Result of the VALUE(x,y,...) Function |
|---|---|
One of the arguments is a non- |
The first non- |
Each argument is a special NULL value |
Special |
Each argument is a NULL value |
|
SQL Tutorial, Converting Values