Question DB-CC-0007
EasyWhat happens in a deadlock between two transactions?
- A.
One transaction commits twice
- B.
Each waits for a lock the other holds, so neither can proceed
- C.
Show answer and explanation
Answer: B
The DBMS detects the cycle and aborts one transaction (the victim) to break it.