Question DB-CC-0023
EasyTransaction T1 holds a shared lock on an item. Can T2 obtain an exclusive lock on it at once?
- A.
No, T2 must wait until the shared lock is released
- B.
Yes, exclusive locks always win
- C.
Show answer and explanation
Answer: A
An exclusive lock is incompatible with any other lock on the same item.