<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to execute multiple SQL query in NIFI PUT SQL processor at a time? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Executing-Multiple-SQL-Statements-in-Apache-NiFi-Database/m-p/151594#M255115</link>
    <description>&lt;P&gt;@Matt&lt;/P&gt;&lt;P&gt;Thank you for your clarification.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2017 21:59:27 GMT</pubDate>
    <dc:creator>saminathancs17</dc:creator>
    <dc:date>2017-01-30T21:59:27Z</dc:date>
    <item>
      <title>Executing Multiple SQL Statements in Apache NiFi Database Workflows</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Executing-Multiple-SQL-Statements-in-Apache-NiFi-Database/m-p/151592#M255113</link>
      <description>&lt;P&gt;How to execute multiple SQL queries in PutSql processor at a time&lt;/P&gt;
&lt;PRE&gt;Ex: insert into table_a values('test_1'); insert into table_b values('test_2');&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Flow:&lt;/STRONG&gt;&lt;STRONG&gt;GetFile -&amp;gt; ReplaceText -&amp;gt; PutSQL -&amp;gt; PutFile&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In the above flow ReplaceText processor will replace the flow file with above example query.&lt;/P&gt;
&lt;P&gt;With this SQL flow file PutSql processor getting triggered and failed with error.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 16:25:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Executing-Multiple-SQL-Statements-in-Apache-NiFi-Database/m-p/151592#M255113</guid>
      <dc:creator>saminathancs17</dc:creator>
      <dc:date>2026-06-05T16:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple SQL query in NIFI PUT SQL processor at a time?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Executing-Multiple-SQL-Statements-in-Apache-NiFi-Database/m-p/151593#M255114</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14126/saminathancs17.html" nodeid="14126"&gt;@Saminathan A&lt;/A&gt;&lt;P&gt;The PutSQL processor expects that each FlowFile contains a single SQL statement and does not support multiple insert statements as you have tried above. You can have the GetFile Processor route its success relationship twice with each success going to its own ReplaceText processor.  Each ReplaceText processor is then configured to create either the "table_a" or "table_b" insert statement.   The success from both ReplaceText processors could then be routed to the same PutSQL processor.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 21:21:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Executing-Multiple-SQL-Statements-in-Apache-NiFi-Database/m-p/151593#M255114</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-01-30T21:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple SQL query in NIFI PUT SQL processor at a time?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Executing-Multiple-SQL-Statements-in-Apache-NiFi-Database/m-p/151594#M255115</link>
      <description>&lt;P&gt;@Matt&lt;/P&gt;&lt;P&gt;Thank you for your clarification.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 21:59:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Executing-Multiple-SQL-Statements-in-Apache-NiFi-Database/m-p/151594#M255115</guid>
      <dc:creator>saminathancs17</dc:creator>
      <dc:date>2017-01-30T21:59:27Z</dc:date>
    </item>
  </channel>
</rss>

