16.20 - NVL - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1145-162K
Language
English (United States)

Purpose

Replaces a NULL with a numeric or a string value as the result value.

Syntax



TD_SYSFNLIB.
Name of the database where the function is located.
expr1
A numeric or character expresssion.
  • If expr1 is NULL, expr2 is returned.
  • If expr1 is not NULL, expr1 is returned.
expr2
A numeric or character expresssion.