Question

How to Pass Query dynamically from source file to JDBC query target?

  • 11 August 2023
  • 1 reply
  • 15 views

I have a requirement where source is a text file in which we would be having sql statements that needs to be executed one after another in sequence on a target Database. Do we have a way where we can pass queries dynamically instead of specifying in JDBC query/query consumer.

Pls suggest if any options available.


1 reply

Userlevel 5
Badge +1

@Bjam 

 

Kindly try the attached query and check if it helps. 

Please let me know if you are having any issues and need more details.

Reply