|
-
Sep 15th, 2005, 04:31 AM
#1
Thread Starter
Frenzied Member
sp_who2 (MSSQL 2000)[Resolved]
Hey guys by executing exec sp_who2 you get list of information on who's connecting to your sql server. My question is how do I remove a certain list that connecting my sql server?
i.e
lets say I want to remove in the list that has HostName=Bob???
Last edited by mar_zim; Sep 15th, 2005 at 04:43 AM.
-
Sep 15th, 2005, 04:36 AM
#2
Re: sp_who2 (MSSQL 2000)
 Originally Posted by mar_zim
Hey guys by executing exec sp_who2 you get list of information on who's connecting to your sql server. My question is how do I remove a certain list that connecting my sql server?
i.e
lets say I want to remove in the list that has HostName=Bob???
You can use the KILL command to disconnect spids with hostname=BOB. Just find the SPID in the list, lets say it is 155, and execute KILL 155.
-
Sep 15th, 2005, 04:40 AM
#3
Thread Starter
Frenzied Member
Re: sp_who2 (MSSQL 2000)
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|