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

SQL Fundamentals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
zwv1557098532464.ditamap
dita:ditavalPath
lze1555437562152.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 Topics

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