Blog Post

How to kill a negative SPID (like SPID -2 or -3) in SQL Server?

,

Today, I face issue during one database restore. I am not able to restore because “Database is in use, Not able to take exclusive lock”. I have killed all the user sessions & stop the application but still we are facing this issue. Further going into details, I found that orphan transaction with SPID -2 … Continue reading ?

Original post (opens in new tab)
View comments in original post (opens in new tab)

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating