摘要:
在sql查询分析器里面是不能直接运行cmd命令的但是SQL给出了一个接口--打开高级设置EXEC sp_configure 'show advanced options', 1RECONFIGURE--打开xp_cmdshell扩展存储过程EXEC sp_configure 'xp_cmdshell', 1RECONFIGURE首先 打开一些配置然后执行你要运行cmd命令exec master..xp_cmdshell 'net start "computer browser"' RECONFIGURE--添加网络驱动器映射e 阅读全文
posted @ 2010-01-06 11:13
叮叮猫的编程世界
阅读(373)
评论(0)
推荐(0)
浙公网安备 33010602011771号