ON COMMIT DELETE/PRESERVE ROWS | CREATE TABLE | Teradata Vantage - ON COMMIT DELETE/PRESERVE ROWS - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

The following table explains how session mode affects the timing of the ON COMMIT action.

In this session mode … The ON COMMIT action is applied at this time …
ANSI when the application issues a COMMIT statement.
Teradata
  • The end of each request (implicit transaction).
  • When the ET statement is processed (explicit transactions).

If you are using nested BT statements, then ON COMMIT is applied when the ET for the outermost BT is processed.