Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
desanip
Contributor
Contributor

Loop through Different databases and load data into tables

Hello,

Can someone tell me how i can loop through different databases in MYSQL server and load data into respective tables. All the tables have the same exact structure?

Can someone show me a sample layout?

 

Thanks in advance.

 

 

Labels (2)
1 Reply
vapukov
Master II
Master II

Hi,

 

if all tables have the same structure, it is not very complicate

0683p000009M52x.png

 

  • read connection information from anywhere (csv file in example)
  • Iterate - store row by row to variable
  • use this variable in the next subjob in tDBConnnection component connected by OnComponentOk trigger
  • do the rest

tJavaFlex - just a dummy component for split job into 2 separate parts