<?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 insert/update into destination table only those records which are updated/ or are new records. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283213#M57176</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please refer below screenshot, I want a way to&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;insert/update into destination table only those records which are updated/ or are new records.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 573px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuVy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140540iE45698EA22C2182A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuVy.png" alt="0683p000009LuVy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I have joined all columns in Tmap to compare.&lt;/P&gt; 
&lt;P&gt;Main flow is the latest data received &amp;nbsp;and lookup is old Table data, which whom we will compare.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i get the updated/ inserted records using inner join out put reject.Check tLogrow2 which has 2 rows out of one is new row and one is updated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now i need to update the source Table with updated row and delete old one and insert newly added record &amp;nbsp;which in my example are in&amp;nbsp;&lt;SPAN&gt; tLogrow2&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please guide me how to proceed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in Advance.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2017 13:34:58 GMT</pubDate>
    <dc:creator>SachinD</dc:creator>
    <dc:date>2017-05-16T13:34:58Z</dc:date>
    <item>
      <title>insert/update into destination table only those records which are updated/ or are new records.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283213#M57176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please refer below screenshot, I want a way to&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;insert/update into destination table only those records which are updated/ or are new records.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 573px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuVy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140540iE45698EA22C2182A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuVy.png" alt="0683p000009LuVy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I have joined all columns in Tmap to compare.&lt;/P&gt; 
&lt;P&gt;Main flow is the latest data received &amp;nbsp;and lookup is old Table data, which whom we will compare.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i get the updated/ inserted records using inner join out put reject.Check tLogrow2 which has 2 rows out of one is new row and one is updated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now i need to update the source Table with updated row and delete old one and insert newly added record &amp;nbsp;which in my example are in&amp;nbsp;&lt;SPAN&gt; tLogrow2&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please guide me how to proceed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in Advance.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 13:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283213#M57176</guid>
      <dc:creator>SachinD</dc:creator>
      <dc:date>2017-05-16T13:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: insert/update into destination table only those records which are updated/ or are new records.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283214#M57177</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;If you want to&amp;nbsp;capture the changed data and only load these changed data into target table to achieve table sync, you can compare tables by using tMap.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;The work flow should be: &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;Target DB--&amp;gt;tMap(make inner join on your input and set the "Catch lookup inner join reject" as true)--&amp;gt;output&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&amp;nbsp;Source DB--&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;The output will be the changed data.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;With Talend Subscription Solution, there is a CDC (Change Data Capture) feature which can achieve data sync.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;BR /&gt;&lt;FONT size="4"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 08:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283214#M57177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: insert/update into destination table only those records which are updated/ or are new records.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283215#M57178</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&amp;nbsp;Could you please provide a ss for the solution you suggested.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 10:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283215#M57178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-24T10:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: insert/update into destination table only those records which are updated/ or are new records.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283216#M57179</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="4"&gt;The work flow should be: &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="4"&gt;Target DB--&amp;gt;tMap(make inner join on your inputs and set the "Catch lookup inner join reject" as true)--&amp;gt;output&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="4"&gt;Source DB--&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;The output will be the changed data.&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="4"&gt;The workflow is not very clear for you? &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="4"&gt;Please take a look at my screenshots for details&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="comparetables1.png" style="width: 796px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrhB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139829iB06A79EAFCA25C26/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrhB.png" alt="0683p000009LrhB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="comparetables2.png" style="width: 757px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrUS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150306i3F7CB5DD18D2FB1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrUS.png" alt="0683p000009LrUS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="comparetables3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lrnv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147855iB0B30D7C49B8FA61/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lrnv.png" alt="0683p000009Lrnv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="comparetables4.png" style="width: 776px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lrjz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149828i3110968DCE6681AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lrjz.png" alt="0683p000009Lrjz.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="4"&gt;Best regards&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="4"&gt;Sabrina&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 02:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-update-into-destination-table-only-those-records-which/m-p/2283216#M57179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T02:44:49Z</dc:date>
    </item>
  </channel>
</rss>

