INSERT (ANSI Bitemporal Table Form) - Teradata Database

SQL External Routine Programming

Product
Teradata Database
Release Number
15.10
Language
English (United States)
Last Update
2018-10-06
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata® Database

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)” on page 35 and “INSERT (ANSI Valid-Time Table Form)” on page 63.

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.