ON COMMIT - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

You cannot change the ON COMMIT properties of a global temporary table if a materialized instance of the table exists.

DELETE ROWS
Delete the contents of an instance of a global temporary table when a transaction completes. DELETE ROWS clears an instance of a global temporary or volatile table of all rows. DELETE is the default.
PRESERVE ROWS
Preserve the contents of an instance of a global temporary table when a transaction completes. PRESERVE ROWS retains the rows in the table after the transaction commits.