While objects are locked, SQL Server will prevent other transactions from making any change of data stored in objects affected by the imposed lock. Once the lock is released by committing the changes or by rolling back changes to initial state, other transactions will be allowed to make required data changes.
In this video, you will learn about the different types of locks in a SQL server which will impose on its resources.
Below are the locking modes that are discussed along with a DEMO for each case.
1) Shared Lock (S)
2) Update Lock (U)
3) Exclusive Lock (X)
4) Intent Lock (IS, IX, SIX)
5) Schema Lock (Sch-M, Sch-S)
6) Bulk Update Lock (BU)
What is Locking in SQL Server and why is it needed?
[ Ссылка ]
What are the Locking resources/Types in SQL Server?
[ Ссылка ]
ACID properties in SQL Server
[ Ссылка ]
Ещё видео!