Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stoping an Endless Loop

Status
Not open for further replies.

Mike555

Technical User
Joined
Feb 21, 2003
Messages
1,200
Location
US
I accidentally executed a continuous Loop that is now constantly running a stored procedure on my SQL Server. When I open up Profiler I can see it continually running. How can I stop this? Thanks.

--
Regards,
Mike
 
Well if you are running it from query analyzer, you can just click the cancel query execution button.

Or I suppose you could go into Enterprise Manager and kill the SPID that is running it.

Questions about posting. See faq183-874
Click here to learn Ways to help with Tsunami Relief
 
Thanks for your reply - I simply stopped and restarted the service and that worked also.

--
Regards,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top