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

Teradata Vantageā„¢ - SQL Fundamentals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1141-171K
Language
English (United States)

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.