Defining Transactions

You can carry out transaction processing with Microsoft SQL Server in three ways:

Image AutoCommit—Every T-SQL statement is its own transaction and automatically commits when it finishes. This is the default mode in which SQL Server operates.

Image Explicit—This approach provides programmatic control of the transaction, using the BEGIN TRAN and COMMIT/ROLLBACK TRAN/WORK commands.

Image Implicit—In this mode, when you issue certain SQL commands, ...

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.