Defining Triggers for System-Time Tables - 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ā„¢

Triggers can be defined for INSERT, DELETE, and UPDATE operations on system-time tables. Note the following:

  • Actions are triggered only for actions on open rows, that is, rows that have not been logically deleted from the table.
  • Defined actions cannot reference the component beginning or ending bound TIMESTAMP columns of the SYSTEM_TIME derived period column.
  • The DELETE or UPDATE operation that triggers an action can be unqualified or can include the temporal FOR PORTION OF qualifier.
  • Trigger actions on ANSI temporal tables can be qualified with FOR PORTION OF.