Explain what are db_options used for?

Answer Posted / ravi raj chelluri

Displays or changes database options, and enables the
asynchronous log service feature.

Syntax
sp_dboption [dbname, optname, optvalue [, dockpt]]


Examples:

1) Displays a list of the database options

sp_dboption


2)Allows select into, bcp and parallel sort operations on
tables in the advanturewors database

use Advantureworks
go
master..sp_dboption Advantureworks, "select into", true
go

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are exact numeric data types in ms sql server?

508


How can I check if a view exists in a sql server database?

561


What are cursors in ms sql server?

593


What is a covering index?

530


What is the Difference Between Primary and Foreign Key?

585






What is table constraint?

539


What action plan is preferred if sql server is not responding?

531


What are approximate numeric data types in ms sql server?

582


How do I find the sql server instance name?

527


What are the advantages of user-defined functions over stored procedures in sql server?

459


Explain ranking functions?

605


How to see the event list of an existing trigger using sys.trigger_events?

569


How can delete duplicate records in cte in sql server?

516


How to use old values to define new values in update statements in ms sql server?

679


What are the different types of Indexes available in SQL Server?

517