Skip to content

Latest commit

 

History

History
21 lines (20 loc) · 1020 Bytes

manual-commit-mode.md

File metadata and controls

21 lines (20 loc) · 1020 Bytes
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Manual-Commit Mode
Manual-Commit Mode
David-Engel
davidengel
01/19/2017
sql
connectivity
conceptual
rolling back transactions [ODBC]
manual-commit mode [ODBC]
transactions [ODBC], commit modes
committing transactions [ODBC]
commit modes [ODBC]
transactions [ODBC], rolling back

Manual-Commit Mode

In manual-commit mode, applications must explicitly complete transactions by calling SQLEndTran to commit them or roll them back. This is the normal transaction mode for most relational databases.

Transactions in ODBC do not have to be explicitly initiated. Instead, a transaction begins implicitly whenever the application starts operating on the database. If the data source requires explicit transaction initiation, the driver must provide it whenever the application executes a statement requiring a transaction and there is no current transaction.