17.10 - Argument Types and Rules - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Data Types and Literals

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)
  • Expressions passed to this function must have the following data types:
    • date_timestamp_value= DATE, TIME, TIME WITH TIME ZONE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, or an Interval data type, such as INTERVAL YEAR TO MONTH.
    • format_arg = CHAR or VARCHAR
  • Digits in fractional seconds are truncated in the timestamp value depending on the result format string that is specified.