Search code examples
data-migrationtalend

How to migrate data from one table to different tables using conditions in TALEND


I have a requirement where i need to migrate data from one table of oracle DB to different tables based on condition like if tableA contains value A in one column then insert it into tableA else insert it into tableB. Can we do this using TALEND. Someone please guide me.


Solution

  • Yes you can do conditional load in Talend. and based on your scenario you can use filter expression of Talend to do it. check screen for more details.

    enter image description here

    add two oracle output for loading into table A and table B like below screen.

    enter image description here