Skip to main content
hus
Silver ⭐️⭐️
February 10, 2026
Question

executeSql bind query

How can I send select queries to the Oracle database to be binded with the executeSql processor in Apache NiFi 1.23.2 version?

1 reply

vafs
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
February 11, 2026

Hello @hus, 

Directly the ExecuteSQL processor does not support binding. 
The input should be directly SQL query. 
https://nifi.apache.org/components/org.apache.nifi.processors.standard.ExecuteSQL/

But, according to the API docs, the processor can be started via a FlowFile: 
https://javadoc.io/static/org.apache.nifi/nifi-standard-processors/2.4.0/org/apache/nifi/processors/standard/ExecuteSQL.html 
So technically you should be able to start this query by using ReplaceText to inject values dynamically, for example. 

Translate
Regards, Andrés Fallas -- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs-up button.