INSERT Statement (ANSI Bitemporal Table Form) | Teradata Vantage - INSERT (ANSI Bitemporal Table Form) - Advanced SQL Engine - Teradata Database

ANSI 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-22
dita:mapPath
ngt1556732962433.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1186
lifecycle
previous
Product Category
Teradata Vantageā„¢

Purpose

Add new rows to ANSI bitemporal tables.

Syntax

There is no special temporal syntax for inserting rows into bitemporal tables. Use the standard SQL INSERT statement. However, all the restrictions listed for INSERTs into system-time and valid-time tables apply to insertions into bitemporal tables. To review these restrictions, see INSERT (ANSI System-Time Table Form) and INSERT (ANSI Valid-Time Table Form).

Note especially that values must be provided for the component columns of the valid-time and system-time periods, and the values entered for the system-time columns will be replaced with a beginning bound value of TEMPORAL_TIMESTAMP (the timestamp at the time of the insertion) and the ending bound of 9999-12-31 23:59:59.999999+00:00.