用SQL语句想把两个表格式一样数据不同的数据库合并,并把导入部分相同数据更新 十分感谢
热心网友
insert into table1 from table2 where field not in (select field from table1) 看一看insert into的帮助吧.
热心网友
在目的库中建立链接表A,然后用A更新目的表B,然后删除A。
用SQL语句想把两个表格式一样数据不同的数据库合并,并把导入部分相同数据更新 十分感谢
insert into table1 from table2 where field not in (select field from table1) 看一看insert into的帮助吧.
在目的库中建立链接表A,然后用A更新目的表B,然后删除A。