Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

How to: Recover a Database from a Backup Without Restoring Data (Transact-SQL)

This topic explains how to recover a database in a restore operation without restoring data.

To recover a database without restoring

  • Execute the RESTORE DATABASE statement, specifying:

    • The name of the database to be recovered.

    • The RECOVERY clause.

This example recovers the AdventureWorks database in a restore operation without restoring data.

-- Restore database using WITH RECOVERY.
RESTORE DATABASE AdventureWorks
   WITH RECOVERY
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.