<?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: Documentation of SQL statement.type in Nifi PutDatabaseRecord in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Documentation-of-SQL-statement-type-in-Nifi/m-p/409175#M252826</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/127402"&gt;@GennyDW&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38301"&gt;@mburgess&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 17:48:05 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2025-06-04T17:48:05Z</dc:date>
    <item>
      <title>Documentation of SQL statement.type in Nifi PutDatabaseRecord</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Documentation-of-SQL-statement-type-in-Nifi/m-p/409173#M252825</link>
      <description>&lt;P&gt;Does anyone have experience using SQL value in statement.type for PutDatabaseRecord processor in Nifi?&lt;/P&gt;&lt;P&gt;It is undocumented as to how to format/parameterize this query correctly.&amp;nbsp; Use of ? or record path values both fail e.g.&lt;/P&gt;&lt;P&gt;INSERT INTO radius.sim_usage(id,sim_id,"ICCID",sim_month,sim_usage,"updatedAt",supplier_id)&lt;BR /&gt;VALUES(/id,/sim_id,/iccid,/sim_month,/sim_usage,/updatedAt,/supplier_id)&lt;BR /&gt;ON CONFLICT(id)&lt;BR /&gt;DO UPDATE SET&lt;BR /&gt;sim_usage =&lt;BR /&gt;CASE WHEN sim_month &amp;lt;&amp;gt; '${nowDate}'&lt;BR /&gt;THEN sim_usage = sim_usage - /sim_usage&lt;BR /&gt;ELSE sim_usage = /sim_usage&lt;BR /&gt;END&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INSERT INTO radius.sim_usage(id,sim_id,"ICCID",sim_month,sim_usage,"updatedAt",supplier_id)&lt;BR /&gt;VALUES(?,?,?,?,?,?,?)&lt;BR /&gt;ON CONFLICT(id)&lt;BR /&gt;DO UPDATE SET&lt;BR /&gt;sim_usage =&lt;BR /&gt;CASE WHEN sim_month &amp;lt;&amp;gt; '${nowDate}'&lt;BR /&gt;THEN sim_usage = sim_usage - ?&lt;BR /&gt;ELSE sim_usage = ?&lt;BR /&gt;END&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 16:21:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Documentation-of-SQL-statement-type-in-Nifi/m-p/409173#M252825</guid>
      <dc:creator>GennyDW</dc:creator>
      <dc:date>2025-06-04T16:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation of SQL statement.type in Nifi PutDatabaseRecord</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Documentation-of-SQL-statement-type-in-Nifi/m-p/409175#M252826</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/127402"&gt;@GennyDW&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38301"&gt;@mburgess&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 17:48:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Documentation-of-SQL-statement-type-in-Nifi/m-p/409175#M252826</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2025-06-04T17:48:05Z</dc:date>
    </item>
  </channel>
</rss>

