mssql 2008恢复xp_cmdshell
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;
關閉一樣.只是將上面的后面的那個"1"改成"0"就可以了.
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 0;RECONFIGURE;
########################################################################################
兩種方式:
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;--
or :
;EXEC sp_configure 'show advanced options', 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure 'xp_cmdshell', 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure 'show advanced options', 0 --
轉載于:https://blog.51cto.com/obnus/464753
總結
以上是生活随笔為你收集整理的mssql 2008恢复xp_cmdshell的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: iphone viewdidLoa
- 下一篇: NetBeans IDE 7.1 Win