• Mike John (7/31/2012)


    In your original question you did say the records had to be INSERTED in to the new table, which is what my statement did.

    Can you post full DDL of both tables, and some sample data that shows exactly what you are trying to do.

    Do you want to INSERT new rows into emp2, UPDATE existing rows, or a combination of the two?

    Mike

    Precisely put. In the OP's favour, I have noticed that those who are new to SQL Server do not readily distinguish between the meanings of the words 'Insert' and 'Update'...

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.