After restoring a SQL Server database, it show a status of “Loading”

Getting the database out of LOADING state

When restoring multiple backups, each backup needs to use the NORECOVERY option to keep the database in a loading state so additional backups can be restored. However, because the database is still in LOADING, you may encounter an unusable transaction log backup, leaving you unable to restore the file. To reset the status of the database, open Query Analyzer and use T-SQL to issue a BACKUP command:

RESTORE DATABASE Northwind WITH RECOVERY

This command resets the status of the “Northwind” database and allows users to access it. No additional restores can be issued after this command is executed.

  • Email, SSL
  • 0 Users Found This Useful
這篇文章有幫助嗎?

Related Articles

Fix Lame Nameserver Error

A lame server, is one that is specifed at the registrar to be authoritative for a domain, but...

ColdFusion DSN parameters are not updated

SYMPTOMS New CF DSN records are created.  Even the set of parameters is tried to be updated...

How to Install MRTG

Solution Steps for MRTG installation are documented as MRTG Installation Make sure MRTG is NOT...

Execute a SQL script (.sql file) on MsSql Server database

To execute a .sql file, you need to open the “Query Analyzer” Start -> Programs ->...

MySQL will not start, “MySQL File ‘/usr/share/mysql/charsets/?.conf’ not found” in error log.

The most common cause for this error, is a failed downgrade of MySQL from 4.1 to 4.0.  Many...