Quantcast
Channel: Windows Server – Up & Running Inc – Tech How To's
Viewing all articles
Browse latest Browse all 502

SOLVED: SQL Database Hung on RESTORING

$
0
0

solved-SQL-Database-Hung-on-RESTORINGIf you have a SQL database stuck on RESTORING (see screen shot) the answer is likely to run a RESTORE command against the MASTER database.

In my case I had been restoring one database over another (Production database into a Test database) and one of them got stuck… not funny.

After selecting the MASTER database to run the query against, the command is:

RESTORE DATABASE <database name> WITH RECOVERY

As you can see this fixed it in 4 seconds!

In case this does not resolve your issue, I found http://stackoverflow.com/questions/520967/sql-server-database-stuck-in-restoring-state to be helpful.

Share This With Your Friends Now:
facebooktwittergoogle_plusredditpinterestlinkedinmail


Viewing all articles
Browse latest Browse all 502

Trending Articles