Link to home
Start Free TrialLog in
Avatar of Glenn Stearns
Glenn StearnsFlag for United States of America

asked on

How to stop SQL Server 2005 restore in progress

I started a restore database process in SQL Server 2005.  It sat for quite a while executing but never got past 0%. So, I cancelled the restore in the Restore window, which worked, and the window closed.  Now this database shows "(restoring...)' out to the right of the database name in SQL Manager.

What is the SQL script I need to execute to get this database out of 'restoring' mode so that I can try the restore again?
ASKER CERTIFIED SOLUTION
Avatar of vineethvp
vineethvp
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Glenn Stearns

ASKER

vineethvp: How do I find the process ID for this?  I ran a script to show currently running jobs and have the GUID for the job, but not the process ID. Can I use the GUID?