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.