tOracleTableList

Six Stars

tOracleTableList

my requirement is load all table with same structure into one target table  i'm taking table list and input table and connection component but the issue is in the tablelist component at where clause i can't understand like tablename not like '%%'" and in input row at global variables also please explain this issue

Moderator

Re: tOracleTableList

Hello,

tOracleTableList is used to iterate all tables of the specify connection.

First of all you should really explicitly reference your columns in your query so that if your db table changes somehow, your Talend component will still pick up the same data. But that aside, your query needs to be more like this.....

 

"select * from "+((String)globalMap.get("tOracleTableList_1_CURRENT_TABLE"))

 The work flow looks like:tOracletableList--iterate--tOracleInput--main—tOracleOutput.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog