Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 SP has an infinite loop and I can't alter it

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-03-20 : 09:05:30
Lou writes "Hello,

I would like some help correcting a problem with a stored procedure. I made a mistake and created a loop that is never going to end. Now I can't alter the procedure because it's in use. What can I do?

Thanks,
Lou"

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-03-20 : 09:26:18
How did you start the procedure? Query window?
Stop the running.

In worst case scenario, you have to stop SQL Server service and restart it.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

john.burns
Posting Yak Master

100 Posts

Posted - 2007-03-20 : 10:51:05
In EM drill into management/current activity/process info
find relevant pid and 'kill' process
Go to Top of Page
   

- Advertisement -