16.20 - Result Type and Attributes - 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)
Here are the default attributes for the result of NULLIFZERO.
  • If arg is numeric, the data type is the same types as arg and the format is the same format as arg.
  • If arg is character, the data type is FLOAT and the default format is FLOAT.
  • If arg is a UDT, the data type is the type of which the UDT is implicitly cast and the format is the format of the data type to which the UDF is implicitly cast.
The NULL keyword has a data type of INTEGER.

For information on data type formats, see Teradata Vantage™ Data Types and Literals, B035-1143.