Hi,
I have a tmp_table with say 10,000 records and a main_table with say 50 million records..
Few records of tmp_table are already existing in main_table so i need to insert only the new records into the main_table.
I have a primary key in both the tables;
I am running a daemon which does this constantly.
Can anyone please help me to find an efficient solution.
I tried PL/SQL exception handling, the MINUS... any other way to do it.
Thanks in Advance.
Rohit
I have a tmp_table with say 10,000 records and a main_table with say 50 million records..
Few records of tmp_table are already existing in main_table so i need to insert only the new records into the main_table.
I have a primary key in both the tables;
I am running a daemon which does this constantly.
Can anyone please help me to find an efficient solution.
I tried PL/SQL exception handling, the MINUS... any other way to do it.
Thanks in Advance.
Rohit
Comment