Ok. I have spent hours on this already.
We were restoring a database from tape. The tape drive failed in the middle of the restore. So now we CANNOT restore from tape to try again.
Before I started the restore, I detached and made a copy of the database files.
The database is in "Restoring" state. All I want to do is DELETE the "restoring" database and attach the copy.
How do I get rid of this thing????? In 2000 it was an update of the sys.databases. In 2005, you cannot do that anymore.
SQL 2005 (9.0.2153)
We were restoring a database from tape. The tape drive failed in the middle of the restore. So now we CANNOT restore from tape to try again.
Before I started the restore, I detached and made a copy of the database files.
The database is in "Restoring" state. All I want to do is DELETE the "restoring" database and attach the copy.
How do I get rid of this thing????? In 2000 it was an update of the sys.databases. In 2005, you cannot do that anymore.
SQL 2005 (9.0.2153)