Answer Posted / 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 |
Post New Answer View All Answers
Explain error and transaction handling in sql server?
What is a non equi join?
How to list all dsn entries on your local machine using odbc_data_source()?
Explain transaction server auto commit?
What is snapshot report?
What is xml datatype?
What is triggers and stored procedures?
What is implicit cursors?
what is bit datatype? : Sql server database administration
What are the 3 types of schema?
What are the advantages of using third-party tools?
When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?
What do you understand by coalesce in sql server?
To which devices can a backup be created and where should these devices be located? : sql server management studio
What type of locking occurs during the snapshot generation? : sql server replication