Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Process is not killed

Status
Not open for further replies.

jluost1

Programmer
Jun 8, 2001
78
US
I run "kill 22" in SQL Query analyzer. (My current spid is 17).

But when I exec sp_lock and sp_who, I still see the process 22?

The reason I want to kill the process is that I would like to delete a corrupted database. Any idea?

Thanks.

 

Sometimes connections (SPIDs) cannot be killed. You have to stop SQL Server to clear the connection. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
That's it. I stopped then restarted the database and it works.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top