6. Working with Transactions and Handling Errors : Error Handling : Handling of Deadlocks
 
Share this page                  
Handling of Deadlocks
A deadlock occurs when two transactions are each waiting for the other to release a part of the database to enable it to complete its update. Transactions that handle deadlocks in conjunction with other errors can be difficult to code and test, especially if cursors are involved.