Explain sp_configure commands, set commands?

Answer Posted / bhaskar

Use sp_configure to display or change server-level
settings. To change database-level settings, use ALTER
DATABASE. To change settings that affect only the current
user session, use the SET statement.

E.g.

sp_CONFIGURE ’show advanced’, 0
GO
RECONFIGURE
GO
sp_CONFIGURE
GO

You can run following command and check advance global
configuration settings.

sp_CONFIGURE ’show advanced’, 1
GO
RECONFIGURE
GO
sp_CONFIGURE
GO

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does partitioning improve performance?

481


What is the filtered index?

555


what is denormalization and when would you go for it? : Sql server database administration

697


Which sql server is best?

510


What is a file group?

610






What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

547


How to assign null values to variables or columns?

543


How to query multiple tables jointly?

553


Can We Use Data-grids For Our Report In Ssrs?

147


Tell about MOM Tool(Microsoft Operator Manager)?

1411


Explain different types of locks in sql server.

592


List out a number of the wants to setup a SQL Server failover cluster?

577


What are database states in ms sql server?

646


How sql server executes a statement with nested subqueries?

503


Is foreign key unique?

570