执行1. 为开启所需服务;成功后执行3.进行导数据;执行完后关闭服务,执行2.
1.启用Ad Hoc Distributed Queries:
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
2.为了安全使用完成后,关闭Ad Hoc Distributed Queries:
exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure
3.
INSERT TPOLPDTPLNH
SELECT *
FROM OPENROWSET('SQLOLEDB','10.69.4.53\ebenefitqa';'dev';'developer',eCompassSGP132QA.DBO.TPOLPDTPLNH)
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。