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

 

相关文章:

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