How to enable xp_cmdshell extended stored procedure ?
On 14 Apr, 2015
By : Charith Silva
No Comments
Views : 1442
xp_cmdshell extended stored procedure allows to issue operating system commands directly to the Windows command shell via T-SQL code. By default xp_cmdshell extended stored procedure is disabled on new installations and can be enabled by using code shown below.
|
EXEC sp_configure 'show advanced options', 1; GO RECONFIGURE; GO EXEC sp_configure 'xp_cmdshell', 1; GO RECONFIGURE; GO |
Related
About The Author
Charith Silva is a Microsoft certified SQL Server developer and database administrator who was graduated at Buckinghamshire New university in the UK. His career was started in 1998, primarily into Web application development, and later diversified into database development.
He has got a vast experience in SQL Server database development, Database administration and Business Intelligence development. He believes that sharing the knowledge is key to the success.
Number of Posts :
87
Leave a Comment