Change the Configuration Settings for a Database
This topic describes how to change database-level options in SQL Server 2012 by using SQL Server Management Studio or Transact-SQL. These options are unique to each database and do not affect other databases.
In This Topic
-
Before you begin:
-
To change the option settings for a database, using:
To change the option settings for a database
-
In Object Explorer, connect to a Database Engine instance, expand the server, expand Databases, right-click a database, and then click Properties.
-
In the Database Properties dialog box, click Options to access most of the configuration settings. File and filegroup configurations, mirroring and log shipping are on their respective pages.
To change the option settings for a database
-
Connect to the Database Engine.
-
From the Standard bar, click New Query.
-
Copy and paste the following example into the query window and click Execute. This example sets the recovery model and data page verification options for the AdventureWorks2012 sample database.
USE master; GO ALTER DATABASE AdventureWorks2012 SET RECOVERY FULL, PAGE_VERIFY CHECKSUM; GO
For more examples, see ALTER DATABASE SET Options (Transact-SQL).
