Insert or update on duplicate key or unique index

Highlighted
One Star

Insert or update on duplicate key or unique index

Hi Sirs...
What exactly means "Insert or update on duplicate key or unique index"?
Thanks!
Highlighted
Seventeen Stars

Re: Insert or update on duplicate key or unique index

hi,
have a look on that documentation
I think it could help you
regards
laurent
Highlighted
Community Manager

Re: Insert or update on duplicate key or unique index

Hello guy
The difference between update or insert and insert or update is the following :
update or insert : Will first try to update, if it can't (because record doesn't exist), it will try to insert.
insert or update : Will first try to insert, if records already exists (primary key already exists), it will try to update the record.
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog