Result Type and Attributes - Advanced SQL Engine - Teradata Database

SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-30
dita:mapPath
tpt1555966086716.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1145
lifecycle
previous
Product Category
Teradata Vantageā„¢
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.