Re: How to kill a process
From: Jacco Schalkwijk (jacco.please.reply_at_to.newsgroups.mvps.org.invalid)
Date: 12/07/04
- Next message: Mike Epprecht \(SQL MVP\): "Re: Extremely large db and blocking"
- Previous message: Jacco Schalkwijk: "Re: Sum numbers by different dates"
- In reply to: NzCharlie: "How to kill a process"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Dec 2004 22:51:52 -0000
When you kill a process that has a transaction open, that transaction has to
be rolled back before the process is completely killed. If it is a large
transaction, it can take a long time for the transaction to roll back. You
can check in the Current Activity pane in Enterprise Manager what the status
is of the process. It should show up as KILLED/ROLLBACK. You can also get
the status of the process with KILL <process id> WITH STATUSONLY in Query
Analyzer. You can find the process id in the Current Activity in Enterprise
Manager.
-- Jacco Schalkwijk SQL Server MVP "NzCharlie" <NzCharlie@discussions.microsoft.com> wrote in message news:131B6064-D73D-432C-96C1-CF58C90BD0C8@microsoft.com... > Our application uses SQL 2000 for back end and Access 2003 mdb for front > end > and uses ODBC to link together. > One of our users appended data to one table. Because inserted duplicate > data > in primary key. The user ignored system warning message and just turned > off > her computer. While the user turned on her computer again, the table could > not open it. > We checked SQL 2000 server, the locking process was found in process > information, locks/process ID and lock/object in management. We > disconnected > all front end sides application, then tried to kill the process using SQL > server Enterprise Manager console. But it was failed. > Would you help me how to kill the process then unlock this object? > > Thanks >
- Next message: Mike Epprecht \(SQL MVP\): "Re: Extremely large db and blocking"
- Previous message: Jacco Schalkwijk: "Re: Sum numbers by different dates"
- In reply to: NzCharlie: "How to kill a process"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|