Hi,
I am trying to insert into a table by selecting certain columns from other table. The first table does contain some rows. The select produces some rows which are already there in first table and also produces some new rows. These new rows are what I want to insert into first table.
I am using an sql like
Insert into table1
select colA,colB,colC from table2
I get sql -803 as the table 1 is not empty and there is a unique index defined.
Is there a way to insert only the non duplicates from 'select colA,colB,colC from table2' ?
Thanks
Mahendra