I have to tables in different databases (on the same server) that are identical. I need to transfer the data rows from the left database table to the right database table, but I only want to transfer the rows that aren’t in the right database table already.
Is there a neat way of doing this?
Im using SQL Server 2008 R2
Assuming that you can uniquelly identify a row with column
id: