November 2009
Intermediate to advanced
848 pages
30h 4m
English
Gail Shaw
Msg 1205, Level 13, State 45, Line 5Transaction (Process ID 53) was deadlocked on lock resources with anotherprocess and has been chosen as the deadlock victim. Rerun the transaction.
A deadlock has to be one of the most frustrating error messages that SQL Server can produce. Little information is given as to what went wrong, and the only advice the error message gives is “Rerun the transaction.” It appears that there’s no way to find the root cause and to prevent the mysterious error from occurring.
In truth, there are ways to find information on exactly what happened to cause a deadlock and, with that information, in most cases it’s possible to fix the root cause and prevent the error completely. ...
Read now
Unlock full access