1.开启Ad Hoc Distributed Queries组件,在sql查询编辑器中执行如下语句:

exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure

 

     2.关闭Ad Hoc Distributed Queries组件,在sql查询编辑器中执行如下语句:

exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure

 

相关文章:

  • 2021-07-10
  • 2022-02-12
  • 2021-08-15
  • 2022-12-23
  • 2022-02-21
  • 2021-12-18
  • 2022-12-23
  • 2021-08-02
猜你喜欢
  • 2021-07-16
  • 2021-12-07
  • 2022-12-23
  • 2021-07-16
  • 2022-12-23
  • 2021-07-19
相关资源
相似解决方案