insert into DestinationTable
select * from SourceTable a
where not exists ( select 0 from DestinationTable b where b.primaryKey= a.primaryKey )
select * from SourceTable a
where not exists ( select 0 from DestinationTable b where b.primaryKey= a.primaryKey )
No comments:
Post a Comment