DB2 Version 9.7 for Linux, UNIX, and Windows

NVL scalar function

Read syntax diagramSkip visual syntax diagram
                       .---------------.      
                       V               |      
>>-NVL--(--expression----,--expression-+--)--------------------><

The schema is SYSIBM.

The NVL function returns the first argument that is not null.

NVL is a synonym for COALESCE.