Period Data Type Usage | Temporal Table Support | Teradata Vantage - Period Data Type Usage - Advanced SQL Engine - Teradata Database

Temporal Table Support

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
cjo1556732840654.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1182
lifecycle
previous
Product Category
Teradata Vantage™

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.