22,209
社区成员
发帖
与我相关
我的任务
分享
select * into #table1 from openquery(tccsdb, 'select * from #table1')
--插入
insert into openquery(tccsdb, 'select id, name from table1 ')
select id, name from table2 a --table2 为sqlserver 表
where not exists(
select * from #table1 b where a.id= b.id
)