INSERT Statement (ANSI Bitemporal Table Form) | Teradata Vantage - 17.00 - INSERT (ANSI Bitemporal Table Form) - Teradata Database

Teradata Vantageā„¢ - ANSI Temporal Table Support

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-1186-170K

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.