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.

  • 1 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

Manage Database Roles

Solution Database roles are conceptually completely separate from operating system users....

Manage Tablespaces

Tablespaces in PostgreSQL allow database administrators to define locations in the file system...

ColdFusion DSN parameters are not updated

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

Finding what packages are installed on a Linux system

For distributions that use RPM format packages, use the command: $ rpm -qa You may want to pipe...

What platforms does Linux support?

Linux runs on almost every general-purpose computer made in the last 10 years. It runs on systems...