MSSQLTips.com - your daily source for SQL Server tips
Hi,
MSSQL2000 has such a feature that it detects deadlocks and kills one of the transactions which take part in the deadlock. I would like to turn off this feature (for debugging purposes), i.e. make the server not to terminate these transactions (i.e. block forever).
Is there a flag/setting in the DB server how to configure this?
I'm not so sure you can turn this behavior off
You may be better served by turning on trace flag 1204 and capturing the deadlock information to the SQL Server error log
dbcc traceon(1204,-1)
when you're done, turn it off with
dbcc traceoff(1204)