CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Location
    South Africa
    Posts
    71

    Angry Killing a Process

    Dear All,

    I would just like to find out if there's an alternative way of killing a process on SQL Server2000. I always try to logout people who are logged into a database by going to the Enterprise manager then management then current activity, I then right click on the process and click on kill process. But I find that it does not work. Please help me.

  2. #2
    Join Date
    May 2004
    Location
    London, England
    Posts
    563

    Re: Killing a Process

    you can use QA to kill a process. Use sp_who to find out what the users spid number is and then kill this process. BUT, don't kill the process if the cmd reads any of the following:

    AWAITING COMMAND, CHECKPOINT SLEEP, LAZY WRITER, LOCK MONITOR, SELECT, or SIGNAL HANDLER.

    Hope that helps
    I don't mind that you think slowly but I do mind that you are publishing faster than you think. Wolfgang Pauli, physicist, Nobel laureate (1900-1958)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured