How to get data from excel and pass excel values as parameters in SQL query on pentaho etl jobs

459 views Asked by At

I'm new to the pentaho etl jobs .. I need to get data from excel and pass the excel sheet value to MySQL query as parameter. If it's possible in etl pentaho jobs .. any know please help me

2

There are 2 answers

0
Thomas Steinhaeuser On

You create a transformation and use 'Microsoft Excel' as your input, make whatever transformation you need to do and add 'Table output' as you destination where you define your database connection. That's all.

0
NK0709 On

as per understanding of your problem your parameters are defined in excel file and you want to use it in sql step.

You create a transformation and use 'Microsoft Excel' as your input, use 'set variable' and then use them as part of sql query parameters dynamically