BEGIN TRANSACTION Statement | SQL Statements | VantageCloud Lake - BEGIN TRANSACTION - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
This statement is only supported on the Block File System on the primary cluster. It is not available for the Object File System.

Defines the beginning of an explicit logical transaction in Teradata session mode.

An explicit Teradata session mode transaction must be terminated with an END TRANSACTION statement. You must specify both BEGIN TRANSACTION and END TRANSACTION statements to define the limits of an explicit transaction in Teradata session mode.

ANSI Compliance

BEGIN TRANSACTION is a Teradata extension to the ANSI SQL:2011 standard.

The statement is valid only in Teradata session mode. If you submit a BEGIN TRANSACTION statement in an ANSI mode session, the system returns an error.

For ANSI session mode transaction control statements, see COMMIT and ROLLBACK.

Other SQL dialects support similar non-ANSI standard statements with names such as the following:
  • BEGIN
  • BEGIN WORK

Required Privileges

None.