Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deadlocks on Queries
Message
From
10/01/2003 12:26:23
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00739035
Message ID:
00740367
Views:
19
>Good sugggestions. But why does a SELECT have anything at all to do with a deadlock?

It's all about the locking. When SQL Server reads a resource (ex. row in a table) it puts a Shared lock on the resource. SQL Server also puts Intent locks higher up the hierarchy. For example, SQL Server would put a shared lock on the row and an Intent Shared (IS) lock on the page and on the table.

The Trace flag that I gave your earlier will dump the connections and resources that participated in the deadlock. It will tell you the tables that were involved. That should help track things back.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform