Logging down dead locks in SQL Server 2000

CK Chin (eBworx) taught me this before but after spent 2 years in Oracle development I forgotten this trick. Thanks to soonyu in SPAN who remind me.

– add the -T1204 and the -T3605 startup parameters to SQL Server and restart sqlserver services

or

– from query analyzer
dbcc traceon(1204,3605,-1)
go
dbcc tracestatus(-1)

Leave a Reply

Your email address will not be published. Required fields are marked *