标签:
exec sp_configure ‘show advanced options‘,1 reconfigure exec sp_configure ‘Ad Hoc Distributed Queries‘,1 reconfigure select * from Product p inner join opendatasource(‘SQLOLEDB‘,‘Data Source=Macaco-Online;user ID=sa;password=sa密码;‘).Company.dbo.Product p2 on P.PID=p2.PID exec sp_configure ‘Ad Hoc Distributed Queries‘,0 reconfigure exec sp_configure ‘show advanced options‘,0 reconfigure
标签:
原文地址:http://www.cnblogs.com/zzq-include/p/4308633.html