Patrick\’s Bytes

19, April 2007

Logging down dead locks in SQL Server 2000

Filed under: Database — patrickyong @ 2:56 am

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


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


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: