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 is indexing explain it with an example?

746


Can we perform backup restore operation on tempdb?

762


what is the primary use of the model database? : Sql server administration

759


What is the contrast between sql and pl/sql?

829


Why truncate is ddl command?

750


What are sub reports and how to create them?

113


How to enable/disable indexes?

801


What is a coalesce function?

866


How many columns can we include on clustered index ?

707


What happens if date-only values are provided as date and time literals?

792


How can sql server instances be hidden?

713


Is there any difference between primary key and unique with the not null condition?

733


What is ddl and dml commands?

685


Differentiate between ms sql server reporting services vs crystal reports?

690


What are some examples of schemas?

743