Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

restore failed, left database in 'loading' condition
I only need one table from this restored database.  Is there any way to set
the status on the database so that I can see if the table I need is OK and
proceed from there?

I have other backups but will lose some data if I restore from them.

Thanks!
--
Mary Parkhouse

Report this thread to moderator Post Follow-up to this message
Old Post
Mary
06-29-05 02:23 PM


RE: restore failed, left database in 'loading' condition
You can reset the Loading status. Try the RESTORE again with RESTART option.

--
Thanks
Ravi


"Mary" wrote:

> I only need one table from this restored database.  Is there any way to se
t
> the status on the database so that I can see if the table I need is OK and
> proceed from there?
>
> I have other backups but will lose some data if I restore from them.
>
> Thanks!
> --
> Mary Parkhouse

Report this thread to moderator Post Follow-up to this message
Old Post
Ravi
06-29-05 04:23 PM


Re: restore failed, left database in 'loading' condition
"Mary" <mary@discussions.microsoft.com> wrote in message
news:1CA4BB0A-6A2F-4B5C-993F- 1B299484A701@microso
ft.com...
> I only need one table from this restored database.  Is there any way to
set
> the status on the database so that I can see if the table I need is OK and
> proceed from there?
>
> I have other backups but will lose some data if I restore from them.
>
> Thanks!
> --
> Mary Parkhouse

Run the restore again.  You can give the database a different name when you
restore it.

Then you can pull the table to the "good" database using a SELECT INTO or an
INSERT/SELECT


Rick Sawtell
MCT, MCSD, MCDBA




Report this thread to moderator Post Follow-up to this message
Old Post
Rick Sawtell
06-29-05 04:23 PM


Re: restore failed, left database in 'loading' condition
I found the answer via google:

RESTORE DATABASE databasename WITH RECOVERY

It was evidently looking for a trn file that no longer existed.

Thanks!

Report this thread to moderator Post Follow-up to this message
Old Post
Mary
06-29-05 04:23 PM


Re: restore failed, left database in 'loading' condition
Mary,

You could also use:-

RESTORE LOG <dbname> with recovery

Thanks
Hari
SQL Server MVP

"Mary" <mary@discussions.microsoft.com> wrote in message
news:C4234778-4ED7-469A-AB38- A7A6D022A252@microso
ft.com...
>I found the answer via google:
>
> RESTORE DATABASE databasename WITH RECOVERY
>
> It was evidently looking for a trn file that no longer existed.
>
> Thanks!



Report this thread to moderator Post Follow-up to this message
Old Post
Hari Prasad
06-30-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:49 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006