15.00 - Transactions - Teradata Database

Teradata Database SQL Fundamentals

prodname
Teradata Database
vrm_release
15.00
category
Programming Reference
featnum
B035-1141-015K

Transactions

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
  • For detailed information on statement and transaction processing, see SQL Request and Transaction Processing.