16.20 - ON COMMIT DELETE/PRESERVE ROWS - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

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.