Beruflich Dokumente
Kultur Dokumente
This topic describes how to view or change the recovery model of a database in SQL Server 2012 by using SQL Server Management Studio or Transact-SQL. A recovery model is a database property that controls how transactions are logged, whether the transaction log requires (and allows) backing up, and what kinds of restore operations are available. Three recovery models exist: simple, full, and bulk-logged. Typically, a database uses the full recovery model or simple recovery model. A database can be switched to another recovery model at any time. The model database sets the default recovery model of new databases. In This Topic Before you begin: Recommendations Security To view or change the recovery model of a database, using: SQL Server Management Studio Transact-SQL Follow Up Recommendations: After You Change the Recovery Model Related Tasks
If you satisfy these two conditions, you will not be exposed to any data loss while restoring a transaction log that was backed up under the bulk-logged recovery model.. If you switch to the full recovery model during a bulk operation, the logging of the bulk operation changes from minimal logging to full logging, and vice versa.
Security Permissions
Requires ALTER permission on the database.