开启MSSQLServer跨服务器查询功能
时间:2014-10-22 10:52:23
收藏:0
阅读:175
- 首先在MSSQL客户端中进行如下图文操作配置


- 其次使用脚本进行操作配置
---开启SQLServer 跨服务器查询功能
exec sp_configure ‘show advanced options‘,1 reconfigure exec sp_configure ‘Ad Hoc Distributed Queries‘,1 reconfigure
--关闭SQLServer 跨服务器查询功能
exec sp_configure ‘Ad Hoc Distributed Queries‘,0 reconfigure exec sp_configure ‘show advanced options‘,0 reconfigure
评论(0)