<?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: StoreProcedure , send and recieve parameters in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353234#M236660</link>
    <description>&lt;P&gt;I dont think there is an out of the box processor where you can utilize such thing. However you can do some workaround where you can use the ExecuteSQL processor instead since this processor allows you to return the stored proc output in Avro format in new flowfile based on whatever your select statement is in the ExecuteSQL SQL Select Query property. Since this will generate new flowfile, the assumption here is that you dont care about the original flowfile.&amp;nbsp; before going farther and give you an example how to do it, do you want to preserve the original flow file and you were thinking of adding the stored proc output as attribute?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2022 17:51:20 GMT</pubDate>
    <dc:creator>SAMSAL</dc:creator>
    <dc:date>2022-09-23T17:51:20Z</dc:date>
    <item>
      <title>StoreProcedure , send and recieve parameters</title>
      <link>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353147#M236648</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I am using PutSql processor and I need to execute a Procedure from the Oracle database, I has used the follow code in the SQL Statement:&lt;/P&gt;&lt;P&gt;declare&lt;/P&gt;&lt;P&gt;inputvar varchar2(20) := "1";&lt;/P&gt;&lt;P&gt;outputvar&amp;nbsp;varchar2(20) ;&lt;BR /&gt;begin&lt;BR /&gt;MyPKG.MyStProcedure( inputvar, outputvar);&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;My questions are: 1) How can I recieve the input parameter and pass to it my code? and 2) How can I send the output parameter to next queue o some attribute ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 19:51:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353147#M236648</guid>
      <dc:creator>PepeClaro</dc:creator>
      <dc:date>2022-09-22T19:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: StoreProcedure , send and recieve parameters</title>
      <link>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353150#M236650</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This question has been asked before several times as you can see in the links below. your best option is to use an ExecuteScript processor and add the output as an attribute to the incoming flowfile.&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/72348844/get-output-of-stored-procedure-using-putsql-in-nifi" target="_blank"&gt;https://stackoverflow.com/questions/72348844/get-output-of-stored-procedure-using-putsql-in-nifi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/57359497/in-nifi-groovy-script-how-to-execute-stored-procedure" target="_blank"&gt;https://stackoverflow.com/questions/57359497/in-nifi-groovy-script-how-to-execute-stored-procedure&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://funnifi.blogspot.com/2016/04/sql-in-nifi-with-executescript.html" target="_blank"&gt;http://funnifi.blogspot.com/2016/04/sql-in-nifi-with-executescript.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 22:06:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353150#M236650</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-09-22T22:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: StoreProcedure , send and recieve parameters</title>
      <link>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353223#M236659</link>
      <description>&lt;P&gt;Thanks a lot for your answer and time. But, my question is about there is another method I can resolve this problem, maybe I can use a special processor o I can use another sentences of PL/SQL.?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 15:47:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353223#M236659</guid>
      <dc:creator>PepeClaro</dc:creator>
      <dc:date>2022-09-23T15:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: StoreProcedure , send and recieve parameters</title>
      <link>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353234#M236660</link>
      <description>&lt;P&gt;I dont think there is an out of the box processor where you can utilize such thing. However you can do some workaround where you can use the ExecuteSQL processor instead since this processor allows you to return the stored proc output in Avro format in new flowfile based on whatever your select statement is in the ExecuteSQL SQL Select Query property. Since this will generate new flowfile, the assumption here is that you dont care about the original flowfile.&amp;nbsp; before going farther and give you an example how to do it, do you want to preserve the original flow file and you were thinking of adding the stored proc output as attribute?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 17:51:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/StoreProcedure-send-and-recieve-parameters/m-p/353234#M236660</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-09-23T17:51:20Z</dc:date>
    </item>
  </channel>
</rss>

