文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>SQL 启动、关闭 xp_cmdshell

SQL 启动、关闭 xp_cmdshell

时间:2010-08-16  来源:Mo

--启用xp_cmdshell

USE master

GO
EXEC sp_configure 'show advanced options', 1

GO
RECONFIGURE WITH OVERRIDE

GO
EXEC sp_configure 'xp_cmdshell', 1

GO
RECONFIGURE WITH OVERRIDE

GO
EXEC sp_configure   'show advanced options', 0

GO
RECONFIGURE WITH OVERRIDE

GO

--关闭xp_cmdshell
USE master

GO
EXEC sp_configure 'show advanced options', 1

GO
RECONFIGURE WITH OVERRIDE

GO
EXEC sp_configure 'xp_cmdshell', 0

GO
RECONFIGURE WITH OVERRIDE

GO
EXEC sp_configure   'show advanced options', 0

GO
RECONFIGURE WITH OVERRIDE

GO

相关阅读 更多 +
排行榜 更多 +
宝宝认飞禽

宝宝认飞禽

休闲益智 下载
曲奇饼手工沙龙

曲奇饼手工沙龙

休闲益智 下载
飞到绝技安卓版

飞到绝技安卓版

赛车竞速 下载