17.05 - Sequenced Temporal Query - Teradata Database

Teradata Vantage™ - Temporal Table Support

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

A sequenced query is a SELECT statement that extracts and operates on rows in a valid-time or bitemporal table with valid-time periods that overlap a time period specified in the query (the PA of the query). If no time period is explicitly specified in the query, the default PA is all time, and the query applies to all open rows in the table. Such queries can return rows that are history rows, current rows, future rows, or combinations of the three.

A sequenced query produces a temporal table as a result set. The valid time of the result rows is the overlap of the query PA with the original row PV.