sqlserver使用中遇到过的

1.恢复xp_cmdshell SQL Server阻止了对组件 'xp_cmdshell' 的过程'sys.xp_cmdshell' 启用,因为此组件已作为此服务器安全配置的一部分而被关闭。

  解决方法:系统管理员可以通过使用 sp_configure 启用 'xp_cmdshell'。

  )运行:

  EXEC sp_configure 'show advanced options', 1;

  RECONFIGURE;

  EXEC sp_configure 'xp_cmdshell', 1;

  RECONFIGURE;

  如果要关闭只需把1改为0即可

2.

posted @ 2012-03-30 23:25  匆匆夏日  阅读(253)  评论(0编辑  收藏  举报