IT tutorials
 
Database
 

Configuring SQL Server 2012 : Setting the Options (part 2) - Configuring the Database

1/8/2014 6:53:21 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Configuring the Database

The database-level options configure the current database's behavior regarding ANSI compatibility and recovery.

Most database options can be set in Management Studio within the Database Properties page, which you can find by right-clicking a database in the console tree and choosing Properties from the context menu. Figure 2 shows the Options tab.

Figure 2 Use Management Studio's Database Properties Options tab to configure the most common database properties.

19.2

The database configuration options can be set using T-SQL ALTER DATABASE SET options. The following example sets the AdventureWorks database to single user mode to obtain exclusive access.

ALTER DATABASE AdventureWorks SET SINGLE_USER;

View database configuration options using the sys.databases catalog view or the DATABASEPROPERTYEX() function. The following example returns all the database properties of the AdventureWorks database:

SELECT * FROM sys.databases WHERE name = ‘AdventureWorks';
Note
Do not use the sp_dboption system stored procedure because this has been removed in SQL Server 2012.


 
Others
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us