mssql 连表 跨服务器 跨数据源 更新数据
UPDATE t1 SET t1.newMenuFactoryId = t2.newMenuFactoryId FROM Papermissions t1 JOIN ( select * from OPENDATASOURCE('SQLOLEDB','server=113.87.51.9;database=heng_old;uid=sa;pwd=shenzhenzhangyong;').shujuhuanyuan.dbo.Papermissions ) t2 ON t1.permissionsid = t2.permissionsid
平淡中储蓄成长