Netezza NVL and NVL2 Functions with Examples
Netezza supports NVL and NVL2 functions. Netezza NVL Function The NVL function replaces a NULL value with a replacement string that you provide in the function. Returns the first argument if it is not null, otherwise it returns the second argument The Netezza NVL function is equivalent to the Netezza SQL coalesce function. The Function will return the non-NULL value. Note that, You cannot replace the blank value using NVL function. Some databases supports this nut Netezza does not. Syntax: NVL (exp,replacement-exp); Returns 'exp' if not null otherwise 'replacement-exp' is…