• 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