SQL Transactions | SQL Fundamentals | Teradata Vantage - Transactions - Advanced SQL Engine - Teradata Database

SQL Fundamentals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
uhe1592872955107.ditamap
dita:ditavalPath
uhe1592872955107.ditaval
dita:id
B035-1141
lifecycle
previous
Product Category
Teradata Vantageā„¢

A transaction is a logical unit of work where the statements nested within the transaction either execute successfully as a group or do not execute.

Transaction Processing Mode

You can perform transaction processing in either of the following session modes:
  • ANSI

    In ANSI session mode, transaction processing adheres to the rules defined by the ANSI/ISO SQL specification.

  • Teradata

    In Teradata session mode, transaction processing follows the rules defined by Teradata prior to the emergence of the ANSI/ISO SQL standard.

To set the transaction processing mode, use the:
  • SessionMode field of the DBS Control Record
  • BTEQ command SET SESSION TRANSACTION
  • Preprocessor2 TRANSACT() option
  • ODBC SessionMode option in the .odbc.ini file
  • JDBC TeraDataSource.setTransactMode() method

Related Information

For detailed information on statement and transaction processing, see Teradata Vantageā„¢ - SQL Request and Transaction Processing, B035-1142.