Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have to perform "insert if not exist" into tables that don't have any primary key. I cannot edit database tables' definition in order to add primary keys.
If I manually set primary key fields in the schema retrieved by Talend, will Talend be able to avoid creating duplicates of existing rows then?
Thanks for your help,
Mick
Hello,
We can add a combobox called ACTION on the tDBOutput component.
ACTION properties will be "INSERT", "UPDATE", "INSERT OR UPDATE" or "UPDATE OR INSERT".
"INSERT OR UPDATE" means if the insertion failed, update operation will be perform.
Best regards
Sabrina