INSERT Statement (ANSI Bitemporal Table Form) | Teradata Vantage - 17.10 - INSERT (ANSI Bitemporal 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)

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.