隐藏

Ad Hoc Distributed Queries的启用与关闭

发布:2014/12/16 0:06:26作者:管理员 来源:本站 浏览次数:1391

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

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