exec sp_configure 'show advanced options',1 --显示高级选项
reconfigure with override--重新配置
    exec sp_configure 'xp_cmdshell',1 --1代表允许,0代表阻止
    reconfigure with override
        exec xp_cmdshell 'dir d:\'
    exec sp_configure 'xp_cmdshell',0
    reconfigure with override
exec sp_configure 'show advanced options',0
reconfigure with override

 

相关文章:

  • 2022-02-14
  • 2022-02-27
  • 2021-10-09
  • 2021-10-03
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-05-17
  • 2021-11-30
  • 2021-12-06
  • 2021-12-28
相关资源
相似解决方案