read sql query from table and execute it

Highlighted
Seven Stars

read sql query from table and execute it

Hi ,

I'm working on a use case , we have some SQL queries inserted in a table and I want to read the SQL queries from the table row by row and execute them.
Then take the output and insert it in some table.

Wanted some help in getting started with this use case , which components to use ? what would be the flow?  

 

 

 

Thanks,

Karan


Accepted Solutions
Highlighted
Moderator

Re: read sql query from table and execute it

@karandama2006 , check the below screenshot and below link.

 

 

Untitled.pngtRun JobtRun Job

https://community.talend.com/t5/Design-and-Development/Passing-a-value-from-a-parent-Job-to-a-child-...

 

 

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.

View solution in original post


All Replies
Highlighted
Moderator

Re: read sql query from table and execute it

@karandama2006 , check the below screenshot and below link.

 

 

Untitled.pngtRun JobtRun Job

https://community.talend.com/t5/Design-and-Development/Passing-a-value-from-a-parent-Job-to-a-child-...

 

 

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.

View solution in original post

Highlighted
Seven Stars

Re: read sql query from table and execute it

Thank you very much , exactly what I wanted

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