kill user

  • Hi all

    I am trying to kill @spid

    but it does not work.

    What is the alternat way to do it.

    Thanks

  • Try killing it from EM.

     

    ------------
    Prakash Sawant

    http://psawant.blogspot.com

  • I tried but did not work!!

  • Hi

    Can u please tell what is the error or problem u r facing while using kill @spid

  • There is no error while running kill @spid

    i get this

    it returns this

    SPID 124: transaction rollback in progress. Estimated rollback completion: 100%. Estimated time remaining: 0 seconds.

    But the process is still running and did not finished at all!!

  • what is the output of

    dbcc inputbuffer(<SPID&gt

    Restarting should solve this

  • Try

    KILL {spid}   [WITH STATUSONLY]

    Statusonly : displays the current progress report.

    Also on SP_Who2 output check the staus of the SPID. If it is "Killed/ Rollback" you have restart the SQLServices.

     

    Sivaprasad S - [ SIVA ][/url]http://sivasql.blogspot.com/[/url]

  • You have an orphaned transaction, the only way I know how to get rid of these spids is to stop and start SQL.

  • Hi

     

    Yes restarting the server should solve the problem.

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply