Hi - Can someone please list what are ALL the reasons for why a deadlock is killed/cleared? I can list these as a starter - please add all others? 1) You can manually kill the process. 2) SQL Server detects the deadlock and kills and rollsback the least expensive (in terms of work done). 3) Deadlock priority is set and the process with the lowest set priority is killed and rolled back? 4) Is there an algorithm that kills the process that started first? Thanks
Rather than adding up the long process to clear the issue why not find and resolve it, such as identify why deadlock occurss. BOL has got some information in this regard, check it out.