What is the Difference Between Update Lock and Exclusive Lock in SQL Server ?

When Exclusive Lock is on any process, no other lock can be placed on that row or table. Every other process has to wait till Exclusive Lock completes its tasks.

Update Lock is a type of Exclusive Lock, except that it can be placed on the row which already has Shared Lock on it. Update Lock reads the data of the row which has the Shared Lock as soon as the Update Lock is ready to change the data it converts itself to the Exclusive Lock.



You May Interest

Disadvantages of Using Stored Procedures in MS SQL

General Information List of All Allowed Databases in MS SQL Serve ...

Using Trim Function in MS SQL

Finding List of Tables Using View in MS SQL

Changing Column Name of MS SQL Table with Query