<?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 how to get updated rows id in tOracleOutput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-updated-rows-id-in-tOracleOutput/m-p/2207702#M7233</link>
    <description>&lt;DIV class="lia-quilt-column lia-quilt-column-18 lia-quilt-column-left lia-quilt-column-main-left"&gt; 
 &lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt; 
  &lt;DIV class="lia-message-body lia-component-body-signature-highlight-escalation"&gt; 
   &lt;DIV class="lia-message-body-content"&gt;
     Hi, 
    &lt;BR /&gt;I am using&amp;nbsp;tpostgresqlinput&amp;nbsp;-&amp;gt; tmap -&amp;gt; tOracleOutput, can any one please let me know how to&amp;nbsp;get ids of updated&amp;nbsp; rows&amp;nbsp; in order to have a log file with all modified rows. 
    &lt;BR /&gt;Thanks &amp;amp; Regards, 
    &lt;BR /&gt; 
    &lt;BR /&gt; 
    &lt;DIV&gt;
      &amp;nbsp; 
    &lt;/DIV&gt; 
   &lt;/DIV&gt; 
  &lt;/DIV&gt; 
  &lt;DIV class="lia-rating-metoo lia-component-me-too"&gt;
    &amp;nbsp; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt; 
&lt;DIV class="lia-quilt-column lia-quilt-column-06 lia-quilt-column-right lia-quilt-column-main-right"&gt;
  &amp;nbsp; 
&lt;/DIV&gt;</description>
    <pubDate>Thu, 20 Sep 2018 15:10:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-20T15:10:15Z</dc:date>
    <item>
      <title>how to get updated rows id in tOracleOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-updated-rows-id-in-tOracleOutput/m-p/2207702#M7233</link>
      <description>&lt;DIV class="lia-quilt-column lia-quilt-column-18 lia-quilt-column-left lia-quilt-column-main-left"&gt; 
 &lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt; 
  &lt;DIV class="lia-message-body lia-component-body-signature-highlight-escalation"&gt; 
   &lt;DIV class="lia-message-body-content"&gt;
     Hi, 
    &lt;BR /&gt;I am using&amp;nbsp;tpostgresqlinput&amp;nbsp;-&amp;gt; tmap -&amp;gt; tOracleOutput, can any one please let me know how to&amp;nbsp;get ids of updated&amp;nbsp; rows&amp;nbsp; in order to have a log file with all modified rows. 
    &lt;BR /&gt;Thanks &amp;amp; Regards, 
    &lt;BR /&gt; 
    &lt;BR /&gt; 
    &lt;DIV&gt;
      &amp;nbsp; 
    &lt;/DIV&gt; 
   &lt;/DIV&gt; 
  &lt;/DIV&gt; 
  &lt;DIV class="lia-rating-metoo lia-component-me-too"&gt;
    &amp;nbsp; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt; 
&lt;DIV class="lia-quilt-column lia-quilt-column-06 lia-quilt-column-right lia-quilt-column-main-right"&gt;
  &amp;nbsp; 
&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Sep 2018 15:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-updated-rows-id-in-tOracleOutput/m-p/2207702#M7233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to get updated rows id in tOracleOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-updated-rows-id-in-tOracleOutput/m-p/2207703#M7234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; You cannot get the ids directly from tOracleOutput to get the ids of updated rows.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; You can plan for an update trigger which will populate the details to log table. But trigger is not a recommended approach&amp;nbsp;if there are lot of updates happening in the table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Another way is to do a quick look up of the data before loading to the table. But do not use a traditional way of lookup where you will join the input data as main and the table where you need to verify as lookup connection. If the lookup table is having millions of records, it may take lot of time.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; You can first load the input data to a temp table using Talend. Join the temp table and the target table within DB based on PK (if available) or other columns which will help you to identify row uniqueness. All matched columns are update candidates for your log table for further tracking.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;If the reply has helped you, could you please mark the topic as resolved. Kudos are also welcome.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 19:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-updated-rows-id-in-tOracleOutput/m-p/2207703#M7234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T19:15:08Z</dc:date>
    </item>
  </channel>
</rss>

