Hello, I am kinda new to Talend I understood CSV to DataBase.
But I have one scenario that I could not find any where.
I have to do csv to DataBase but I don't have column id in csv but I have it in my table which is primary key and not auto increment.
And I have to dump CSV data in table in such a way that for every record in CSV I have to put id in table as max(id+1)
please help....... I am trying this since last 2 weeks.
Solved! Go to Solution.
@roshan_wani , as part of pre job take the Max id form the target table and load as global variable and use that global variable to do incremental in tmap in the main job while loading from CSV to database using Numeric sequence
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables