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

Teradata Vantageā„¢ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
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.