Defines the beginning of an explicit logical transaction in Teradata session mode.
An explicit Teradata session mode transaction must always be terminated with an END TRANSACTION statement. You must always 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.