dbTalk Databases Forums  

how to view the current connections in sybase and kill one of them?thanks

comp.databases.sybase comp.databases.sybase


Discuss how to view the current connections in sybase and kill one of them?thanks in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jakey chen
 
Posts: n/a

Default how to view the current connections in sybase and kill one of them?thanks - 03-02-2004 , 12:48 AM






how to view the current connections in sybase and kill one of them?thanks

Reply With Quote
  #2  
Old   
Rob Verschoor
 
Posts: n/a

Default Re: how to view the current connections in sybase and kill one of them?thanks - 03-02-2004 , 02:12 AM






"jakey chen" <jakey_515 (AT) 163 (DOT) net> wrote

Quote:
how to view the current connections in sybase and kill one of
them?thanks


Run sp_who to get a list of all current sessions. To kill a session,
run:

kill <spid>
go

.... where <spid> is the session number shown by sp_who.


HTH,

Rob
-------------------------------------------------------------
Rob Verschoor

Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0
and Replication Server 12.5

Author of "Tips, Tricks & Recipes for Sybase ASE" and
"The Complete Sybase ASE Quick Reference Guide"
Online orders accepted at http://www.sypron.nl/shop

mailto:rob (AT) YOUR (DOT) SPAM.sypron.nl.NOT.FOR.ME
http://www.sypron.nl
Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands
-------------------------------------------------------------



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.