INSERT SELECT Statements for Time Series Tables | Teradata Vantage - INSERT SELECT - Analytics Database - Teradata Vantage

Time Series Tables and Operations

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-10-30
dita:mapPath
tuc1628112453431.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
sfz1493079039055
lifecycle
latest
Product Category
Teradata Vantageā„¢

You can insert rows into a PTI table using INSERT SELECT syntax. See INSERT and INSERT SELECT in Teradata Vantageā„¢ - SQL Data Manipulation Language, B035-1146.

You can insert rows by selecting rows from a:

  • Non-PTI table and then insert the rows into a PTI table.
  • PTI table and then insert the rows into a non-PTI table.
  • PTI table and then insert the rows into another PTI table.

You cannot reference the TD_TIMEBUCKET column or insert values into the TD_TIMEBUCKET column using the INSERT SELECT syntax. The TD_TIMEBUCKET column is a system generated column.

When performing an insert-select operation on a PTI table, the rows being inserted cannot have timecode value precedes the timezero specification in the primary time index of the PTI table, for example DATE '2016-01-01'.