Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
nickedw0
Creator
Creator

Update/Merge table

How can I add missing records to a table from a second table? I want to add records from 2nd table which do not exist in first table, while ignoring duplicates.

3 Replies
nickedw0
Creator
Creator
Author

I figure I can use the Outer join.

joseduque
Partner - Contributor III
Partner - Contributor III

Hi,

The outer keyword is optional and is the default join type used when a join prefix is not specified. So there is no need to put outer.

Hope this helps

Digvijay_Singh

You may Concat 2nd table with Where not exists clause, before that you would need to create temp key field like this in first table -

Keyfield as tempkeyfield,

and then while loading 2nd table -

Where not exists(tempkeyfield,keyfield)