Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain sp_configure commands, set commands?

Answers were Sorted based on User's Feedback



Explain sp_configure commands, set commands?..

Answer / senthil ku,mar

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

Is This Answer Correct ?    7 Yes 0 No

Explain sp_configure commands, set commands?..

Answer / bhasskar

sp_configure :
The xp_cmdshell option is a server configuration option
that enables system administrators to control whether the
xp_cmdshell extended stored procedure can be executed on a
system.
—- To allow advanced options to be changed.

EXEC sp_configure ’show advanced options’, 1

GO
—- To update the currently configured value for advanced
options.

RECONFIGURE

GO

—- To enable the feature.

EXEC sp_configure ‘xp_cmdshell’, 1

GO

—- To update the currently configured value for this
feature.

RECONFIGURE
GO
SET:
This command is used to set the values to the variables
ex:
declare @id int
set @id=2




Is This Answer Correct ?    1 Yes 0 No

Explain sp_configure commands, set commands?..

Answer / 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

More SQL Server Interview Questions

After recovering the database by using tail log backup.How to verify the data has been sucessfully restored or not.?

0 Answers   Cognizant,


Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?

0 Answers  


Mention the 3 ways to get a count of the number of records in a table.

0 Answers  


How to create a simple stored procedure in ms sql server?

0 Answers  


Lets say due to N/W or Security issues client is not able to connect to server or vice versa. How do you troubleshoot?

1 Answers  


Tell me what are the essential components of sql server service broker?

0 Answers  


Explain different backup plans?

0 Answers  


What should we do to copy the tables, schema and views from one SQL Server to another?

3 Answers  


What are the different types of replication are there in sql server 2000?

0 Answers  


Can we call SP inside a query?

5 Answers   CA, CarrizalSoft Technologies, Wipro,


how do u find least salary in a table

4 Answers  


What do you understand by mirroring and mention the advantages of the mirroring?

0 Answers  


Categories