Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a SP deadlock with itself?
Message
From
11/03/1999 17:40:07
 
 
To
11/03/1999 08:18:11
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00196295
Message ID:
00196562
Views:
40
>Now, I can understand the deadlock mechanism. but where the source and destination databases are concerned, I AM THE ONLY USER. Can a SP deadlock with itself???

SQL Server is supposed to recognize that a lock is being held by the same connection and ignore it. The only time I seen strange things like this is when I was creating temporary tables using SELECT INTO. SELECT INTO will place locks on some of the system tables in tempdb. If you issue the SELECT INTO within an explicit transaction, SQL Server will hold the locks until the transaction is terminated. The problem is that the locks interfer with the CHECKPOINT process.

Are you using SELECT INTO?

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

Click here to load this message in the networking platform