Chapter 9. Transactions

Transactions allow you to define a unit of activity that will be considered atomic–all or nothing. The data will be considered consistent at the beginning of the transaction and at the end. Locks are obtained to isolate data resources, preventing (blocking) other processes from performing incompatible activities against those resources. You can control the degree of isolation of your transaction by specifying an isolation level. I will describe isolation levels in more detail later in the chapter. The database’s transaction log guarantees that a committed transaction recorded within it is durable–that is, the change will reach the database. ...

Get Inside Microsoft® SQL Server™ 2005 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.