Microsoft introduced row versioning as an alternative to shared locks in SQL Server 2005. With row versioning, rows are read into tempdb at the beginning of a transaction and the transaction uses that copy of those rows throughout the duration of the transaction. Row versioning protects the transaction from
Even when row versioning is used, SQL Server still takes an exclusive lock on a row before updating it.
Row versioning allows for optimum concurrency (multiple users accessing data at the same time), while providing good
protection.
Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.
Get Started
Comments
Leave a Comment