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

ANSI Temporal Table Support

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
kit1592007446534.ditamap
dita:ditavalPath
kit1592007446534.ditaval
dita:id
B035-1186
lifecycle
previous
Product Category
Teradata Vantageā„¢
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.