dynamic SQL queries in tDB... , tMySQL... , tOracle...

One Star

dynamic SQL queries in tDB... , tMySQL... , tOracle...

Hi,

I would like to know how it's possible to dynamically (during execution) generate SQL queries used as properties in these components, source queries for example.

Thanks for your answers.
One Star

Re: dynamic SQL queries in tDB... , tMySQL... , tOracle...

Any ideas ?
Five Stars

Re: dynamic SQL queries in tDB... , tMySQL... , tOracle...

Hi mamaf,

You will need to define context variables for your job and create the SQL Queries using tJavaRow/tPerlRow or tPerl/tJava.

Then include them via the Ctrl-Space shortcut to bring up the context variable list.

Screens attached.

Cheers,

c0utta

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

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog