Result Type and Attributes

Teradata Vantageā„¢ SQL Functions, Expressions, and Predicates

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K
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.