<?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: Find deleted records from source and delete it from target !! in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214210#M11153</link>
    <description>You would need to query the source and target tables for their primary keys, join them using a tMap lookup (unless there's a faster way I don't know yet), create an output for target table keys without a matching source key, then delete all target table records with those keys.</description>
    <pubDate>Thu, 27 Oct 2016 19:42:05 GMT</pubDate>
    <dc:creator>cterenzi</dc:creator>
    <dc:date>2016-10-27T19:42:05Z</dc:date>
    <item>
      <title>Find deleted records from source and delete it from target !!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214206#M11149</link>
      <description>Hi Guys,&lt;BR /&gt;We are doing a migration of data from informix database to Oracle database. We need to track the deleted rows from source and need to delete it from target. Is there any &amp;nbsp;way that i can do it. Please help&lt;BR /&gt;Thanks,&lt;BR /&gt;Vishnu</description>
      <pubDate>Sat, 16 Nov 2024 10:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214206#M11149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Find deleted records from source and delete it from target !!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214207#M11150</link>
      <description>Hi, 
&lt;BR /&gt;Usually, 
&lt;FONT size="2"&gt;Nb_LINE&lt;/FONT&gt; 
&lt;FONT size="2"&gt;&amp;nbsp; &lt;/FONT&gt; 
&lt;FONT size="2"&gt;is used to count the total number of records have been proceed.&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;When this option is set to NONE, there is no a global variable for counting the total number of records have been inserted, updated, or deleted.&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;When delete&amp;nbsp;item is choosen, there will be a global variale such as&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;((Integer)globalMap.get("tOracleOutput_1_NB_LINE_DELETED"))&lt;/FONT&gt;&lt;FONT size="2"&gt;&amp;nbsp;will be avaible, which counts the total number of&amp;nbsp;records have been deleted.&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;Best regards&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 08:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214207#M11150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T08:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find deleted records from source and delete it from target !!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214208#M11151</link>
      <description>How are the rows being deleted from your source database? Is Talend doing this or is it happening via some application/other process? If it is Talend, then the solution is simple so I doubt this is the case. If it is an application or another process, can you edit the source db to add delete triggers? If so, you could keep track of deleted records by adding a delete trigger and keep the record key in a "deleted" table. If you cannot do this, then you are left with comparing your source and target, then removing the rows that do not exist in your source but do in you Target. That is the most expensive way and depending on how many table you are comparing and how big your database is, could be quite a lengthy process.</description>
      <pubDate>Thu, 27 Oct 2016 08:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214208#M11151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T08:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find deleted records from source and delete it from target !!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214209#M11152</link>
      <description>Hi rhall, 
&lt;BR /&gt;The rows are getting deleted by another process..for which i dont have any control. 
&lt;BR /&gt;For me the job would be running weekly,&amp;nbsp; 
&lt;BR /&gt;1.at that time only the new and updated records should be inserted into the target and&amp;nbsp; 
&lt;BR /&gt;2.for the records which get deleted from source in between the earlier job and current job ,should also get deleted from my target. 
&lt;BR /&gt;I did not get the solution for step 2. 
&lt;BR /&gt;How will i compare them?.....using a lookup? or? 
&lt;BR /&gt;&amp;nbsp;if(by using lookup{where will i give the condition} 
&lt;BR /&gt;else 
&lt;BR /&gt;{which component should i use}. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Vishnu</description>
      <pubDate>Thu, 27 Oct 2016 10:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214209#M11152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T10:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Find deleted records from source and delete it from target !!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214210#M11153</link>
      <description>You would need to query the source and target tables for their primary keys, join them using a tMap lookup (unless there's a faster way I don't know yet), create an output for target table keys without a matching source key, then delete all target table records with those keys.</description>
      <pubDate>Thu, 27 Oct 2016 19:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214210#M11153</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2016-10-27T19:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find deleted records from source and delete it from target !!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214211#M11154</link>
      <description>&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;This solution could be a problem in case not all history is maintained on the source side. How is data maintained on the source side needs to be looked into before implementing this solution. Having a delete trigger is one of the clean solutions that can be implemented.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;</description>
      <pubDate>Fri, 28 Oct 2016 04:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214211#M11154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-28T04:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Find deleted records from source and delete it from target !!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214212#M11155</link>
      <description>Hi All, 
&lt;BR /&gt;I got the solution,thanks to cterenzi. 
&lt;BR /&gt;1,I just compared the source and target using a tMap lookup.Checked the option for Inner Join, 
&lt;BR /&gt;2,SET the 'catch lookup Inner Join Reject' to: 'True' for Target in tMap. 
&lt;BR /&gt;3.Performed a Deletion Job on this Mapping 
&lt;BR /&gt;Thanks All, 
&lt;BR /&gt;Vishnu 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 28 Oct 2016 07:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214212#M11155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-28T07:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Find deleted records from source and delete it from target !!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214213#M11156</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi All,&lt;BR /&gt;I got the solution,thanks to cterenzi.&lt;BR /&gt;1,I just compared the source and target using a tMap lookup.Checked the option for Inner Join,&lt;BR /&gt;2,SET the 'catch lookup Inner Join Reject' to: 'True' for Target in tMap.&lt;BR /&gt;3.Performed a Deletion Job on this Mapping&lt;BR /&gt;Thanks All,&lt;BR /&gt;Vishnu &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hello Vishnukr894, 
&lt;BR /&gt;Thanks for posting your solution. But can you kindly explain what you did in Step "3. Performed a Deletion Job on this Mapping". 
&lt;BR /&gt;And if possible, post a screenshot of your solution. That will be very helpful. 
&lt;BR /&gt;Thanks in advance. 
&lt;BR /&gt;Cheers, 
&lt;BR /&gt;Dela.</description>
      <pubDate>Fri, 20 Jan 2017 16:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Find-deleted-records-from-source-and-delete-it-from-target/m-p/2214213#M11156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-20T16:05:06Z</dc:date>
    </item>
  </channel>
</rss>

