16.20 - Changing or Overriding the TIME and TIMESTAMP Format Settings - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ Data Types and Literals

Teradata Database
Teradata Vantage NewSQL Engine
March 2019
Programming Reference

You can change or override the TIME and TIMESTAMP format settings for field mode in the following ways:

  • Change the system default TIME and TIMESTAMP formats in the specification for data formatting (SDF) file.
  • Specify a format in a FORMAT phrase.

    The FORMAT phrase sets the format for a specific TIME or TIMESTAMP column or value. A FORMAT phrase overrides the system format.

The TIME and TIMESTAMP format setting pertains to data in report form, as is the case in BTEQ. The format does not control internal storage representation of data or data returned in record or indicator variable mode.

For details about the FORMAT phrase, see FORMAT Phrase and DateTime Formats or FORMAT Phrase, DateTime Formats, and Japanese Character Sets.