Period Data Type Usage | Temporal Table Support | Teradata Vantage - 17.05 - Period Data Type Usage - Teradata Database

Teradata Vantage™ - Temporal Table Support

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1182-170K

Both temporal and nontemporal tables support Period data types and literals.

With respect to temporal tables:
  • transaction-time columns must have a data type of PERIOD(TIMESTAMP(6) WITH TIME ZONE) or be a derived period column where the component begin and end time columns are both PERIOD(TIMESTAMP(6) WITH TIME ZONE).
  • Valid-time columns can have a Period or derived period data type of PERIOD(DATE), PERIOD(TIMESTAMP[(n)]), or PERIOD(TIMESTAMP[(n)] WITH TIME ZONE).

For more information on Period and DateTime data types, see Teradata Vantage™ - Data Types and Literals, B035-1143.