15.10 - ON COMMIT - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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.