<?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>topic Re: Using Oracle function in toracleoutput/Additional column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314496#M85253</link>
    <description>&lt;P&gt;Hi BB,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Abhishek is correct as tOracleOutput is mainly used for normal data output to target database. If you are having customized functions in your target insert statement or other DB operations like calling a stored procedure function or package, the best place to use them is through tDBRow(Oracle).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 04:01:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-21T04:01:57Z</dc:date>
    <item>
      <title>Using Oracle function in toracleoutput/Additional column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314494#M85251</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;I posted &lt;A title="base64decoding" href="https://community.qlik.com/s/feed/0D53p00007vCmrOCAS#M92381" target="_self"&gt;a thread&lt;/A&gt;&amp;nbsp;yesterday and the issue got resolved, but as an alternative approach, i would like to know how to use oracle functions in the Advanced setting&amp;gt;Additional columns in toracleoutput component for the incoming columns from tmap, can someone shed some light on how to do it? normal operations like sequence have examples on the web, but i'm not able to find examples on using functions like the one below&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"UTL_RAW.CAST_TO_VARCHAR2(UTL_ENCODE.BASE64_DECODE(link.input_column))"&lt;/PRE&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;BB&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 16:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314494#M85251</guid>
      <dc:creator>borrisbeck</dc:creator>
      <dc:date>2019-02-20T16:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using Oracle function in toracleoutput/Additional column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314495#M85252</link>
      <description>&lt;P&gt;As per my understanding&amp;nbsp; , you have to use tDbRow&lt;/P&gt;&lt;P&gt;create your INSERT statement as String and execute it in tDBRow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 17:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314495#M85252</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-20T17:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Oracle function in toracleoutput/Additional column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314496#M85253</link>
      <description>&lt;P&gt;Hi BB,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Abhishek is correct as tOracleOutput is mainly used for normal data output to target database. If you are having customized functions in your target insert statement or other DB operations like calling a stored procedure function or package, the best place to use them is through tDBRow(Oracle).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 04:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314496#M85253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-21T04:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using Oracle function in toracleoutput/Additional column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314497#M85254</link>
      <description>&lt;P&gt;Normally Sql Expression of Additional Field doesn't have access to link resultset but&lt;/P&gt; 
&lt;P&gt;I released that it can be possible using global variable.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1) 1st check your expression work directly on Databse&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"UTL_RAW.CAST_TO_VARCHAR2(UTL_ENCODE.BASE64_DECODE('xxxxxxxxx'))"&lt;/PRE&gt; 
&lt;P&gt;2)&amp;nbsp;if OK , in your job after your input put tflowtoItrate and the itrate to tfixedflowinput and the attach tfixedflowinput &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TalendImage2.JPG" style="width: 880px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2lm.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151442iF93B0979379D4DD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2lm.jpg" alt="0683p000009M2lm.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;to tOracleOutput&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2) in additional column , use Replace as position , Reference Column&amp;nbsp; and Name should be same datatype.&lt;/P&gt; 
&lt;P&gt;and in sql expression&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"UTL_RAW.CAST_TO_VARCHAR2(UTL_ENCODE.BASE64_DECODE('" +&amp;nbsp;((String)globalMap.get("&lt;EM&gt;variablename&lt;/EM&gt;"))&amp;nbsp; + "'))"&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 14:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-Oracle-function-in-toracleoutput-Additional-column/m-p/2314497#M85254</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-26T14:15:59Z</dc:date>
    </item>
  </channel>
</rss>

