17.10 - CREATE TABLE Syntax Elements (ANSI Valid-Time Table Form) - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - ANSI Temporal Table Support

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1186-171K
Language
English (United States)
table_name
The name of the valid-time table. May include database qualifier.
valid_start
The name of the column that will store the beginning bound of the valid-time period.
valid_end
The name of the column that will store the ending bound of the valid-time period.
precision
The precision of the timestamp value. The default is 6.
valid_time_period
The name of the valid-time derived period column.
VALIDTIME
Required to create valid-time tables in the database.
This clause allows SELECT statements on valid-time tables to use special temporal qualifiers (AS OF, BETWEEN ... AND, FROM TO, CONTAINED IN), which ANSI does not support on valid-time tables. For more information see Querying ANSI Valid-Time Tables.
[AS] VALIDTIME is a Teradata extension to ANSI.