tmysql output action on data

Highlighted
Six Stars

tmysql output action on data

Hi Team

 

In tmysqloutput  in Action on data tab i could find Insert or update on duplicate key or unique index 

I understood the function is similar to insert or update operation but what is exact purpose of having it i have gone though help but still i ave some conflicts can you please make my understanding better on it.

 

Thanks

Saranya.

Highlighted
Eight Stars

Re: tmysql output action on data

Hello,

How I understand it:
- If the record with the key or unique index does not exist in the table the row is inserted.
- If the record with the key or unique index does exist in the table the row with the key or index is updated.

Regards
Ondrej

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