Feb 9, 2006 #1 jby1 Programmer Apr 29, 2003 403 GB Hi I have a number of orphan connections when I run sp_who. How do I kill these?
Feb 9, 2006 #2 SQLDenis Programmer Oct 1, 2005 5,575 US KILL spid Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
KILL spid Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/
Feb 9, 2006 #3 SQLDenis Programmer Oct 1, 2005 5,575 US to see what command those connections were executing use DBCC INPUTBUFFER (SPID) also make sure that you don't kill anything below 50 since those are used by SQL server Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
to see what command those connections were executing use DBCC INPUTBUFFER (SPID) also make sure that you don't kill anything below 50 since those are used by SQL server Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/
Feb 9, 2006 Thread starter #4 jby1 Programmer Apr 29, 2003 403 GB Thanks, that is great! Upvote 0 Downvote