Home Forums SQL Server 2008 SQL Server 2008 - General Fastest way to move data between two databases RE: Fastest way to move data between two databases
AndrewSQLDBA
SSC-Insane
Points: 21827
More actions
May 11, 2013 at 10:16 am
#1614387
You can use a LEFT JOIN, or MERGE. Either should be able to insert only the rows that are missing.
This is rather short since you did not provide DDL and some sample data that you need.
Read about both in the SQL BOL.
Andrew SQLDBA