<?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: Map value returned by Oracle function into a table column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239886#M27539</link>
    <description>if it's a scalar function you can run it from a tinputbd using Select function(x,y,z) from Table or dummy.
&lt;BR /&gt;then witn a tmap maque a loockup using parameters.
&lt;BR /&gt;it's good if you have only some rows.
&lt;BR /&gt;the other way is to use tOracleRow.
&lt;BR /&gt;insert function into your insert query.
&lt;BR /&gt;insert into table2 (a,b,c) (select a,b,function(c,d,b) from table2)
&lt;BR /&gt;good luck</description>
    <pubDate>Mon, 11 Mar 2019 10:19:38 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2019-03-11T10:19:38Z</dc:date>
    <item>
      <title>Map value returned by Oracle function into a table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239884#M27537</link>
      <description>&lt;P&gt;I have designed a simple job where I'm using tMap to insert new rows into Oracle table Table2. Most column values are basically taken from another table Table1.&lt;/P&gt; 
&lt;P&gt;tOracleInput (Table1) --&amp;gt; tMap --&amp;gt; tOracleOutput (Table2).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, one column value (Column_Date) in Table2 is to be taken from a function with multiple parameters as shown below. This is where I got stuck.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Package_Name.Function_Name(&lt;BR /&gt;PARAM1 = Table3.columnX,&lt;BR /&gt;PARAM2 = Table1.ColumnY,&lt;BR /&gt;PARAM3 = "string_value1"&lt;BR /&gt;PARAM4 = Number,&lt;BR /&gt;PARAM5 = "string_value2",&lt;BR /&gt;PARAM6 = null,&lt;BR /&gt;PARAM7 = null)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Suggestions??&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 08:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239884#M27537</guid>
      <dc:creator>cd160</dc:creator>
      <dc:date>2019-03-11T08:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Map value returned by Oracle function into a table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239885#M27538</link>
      <description>&lt;P&gt;Did you try to use tOracleSP , to call the procedure and get the column value before updating.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/1gQHLDcbpjnw_HLOYcAcGA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/1gQHLDcbpjnw_HLOYcAcGA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 09:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239885#M27538</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-11T09:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Map value returned by Oracle function into a table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239886#M27539</link>
      <description>if it's a scalar function you can run it from a tinputbd using Select function(x,y,z) from Table or dummy.
&lt;BR /&gt;then witn a tmap maque a loockup using parameters.
&lt;BR /&gt;it's good if you have only some rows.
&lt;BR /&gt;the other way is to use tOracleRow.
&lt;BR /&gt;insert function into your insert query.
&lt;BR /&gt;insert into table2 (a,b,c) (select a,b,function(c,d,b) from table2)
&lt;BR /&gt;good luck</description>
      <pubDate>Mon, 11 Mar 2019 10:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239886#M27539</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-03-11T10:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Map value returned by Oracle function into a table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239887#M27540</link>
      <description>&lt;P&gt;I did, but it returns nothing. The examples I found are of functions with only one parameter or parameter has a set value instead of table column. Also some of the parameter values in my case are based on sql query (Select Col1 from Table1 when Table1.KeyCol=Table2.KeyCol)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 15:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239887#M27540</guid>
      <dc:creator>cd160</dc:creator>
      <dc:date>2019-03-19T15:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Map value returned by Oracle function into a table column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239888#M27541</link>
      <description>what is the function return type?
&lt;BR /&gt;did you success calling it into select query on sqleditoe plsql or toad or …
&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Mar 2019 10:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Map-value-returned-by-Oracle-function-into-a-table-column/m-p/2239888#M27541</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-03-20T10:10:08Z</dc:date>
    </item>
  </channel>
</rss>

