【SQLserver】跨服务器同步数据表、SQL Server 阻止了对组件 ‘Ad Hoc Distributed Queries‘ 的 STATEMENT ‘OpenRowset/OpenData
insert into 数据库.表select * fromopenrowset('SQLOLEDB','sql服务器名'; '用户名'; '密码',源数据库名.dbo.表名)where 条件例:insert into abc1select * fromopenrowset ('SQLOLEDB ','SQL1'; 'sa'; '123456',[Test].dbo.abc1)需要启用"AdHoc