<?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: How to Never Capture DELETE´s  in QLIK Replicate in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2516300#M14247</link>
    <description>&lt;P&gt;Thank you so much for your outstanding support!&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/200866"&gt;@Leandro_Medeiros&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2025 12:13:05 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2025-04-30T12:13:05Z</dc:date>
    <item>
      <title>How to Never Capture DELETE´s  in QLIK Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2513815#M14093</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I would like to create a QLIK Task to capture only INSERT and UPDATE from a table.&lt;/P&gt;&lt;P&gt;To Never process DELETE.&lt;/P&gt;&lt;P&gt;Is it possible&amp;nbsp; ?&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;Rgds., Leandro Medeiros&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 10:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2513815#M14093</guid>
      <dc:creator>Leandro_Medeiros</dc:creator>
      <dc:date>2025-04-10T10:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Never Capture DELETE´s  in QLIK Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2513894#M14094</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Leandro Medeiros&lt;/SPAN&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/200866"&gt;@Leandro_Medeiros&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="" data-start="78" data-end="357"&gt;I'm not entirely sure which source database you're using, but in most relational databases, all operations, including &lt;CODE data-start="195" data-end="203"&gt;INSERT&lt;/CODE&gt;, &lt;CODE data-start="205" data-end="213"&gt;UPDATE&lt;/CODE&gt;, and &lt;CODE data-start="219" data-end="227"&gt;DELETE&amp;nbsp;&lt;/CODE&gt;are recorded in the transaction logs. Typically, there's no straightforward way to prevent &lt;CODE data-start="319" data-end="327"&gt;DELETE&lt;/CODE&gt; operations from being logged.&lt;/P&gt;
&lt;P class="" data-start="359" data-end="519"&gt;However, in &lt;STRONG data-start="371" data-end="389"&gt;Qlik Replicate&lt;/STRONG&gt;, there are a few options available to &lt;STRONG data-start="428" data-end="458"&gt;ignore &lt;CODE data-start="437" data-end="445"&gt;DELETE&lt;/CODE&gt; operations&lt;/STRONG&gt;, even though they are still present in the transaction logs:&lt;/P&gt;
&lt;OL data-start="521" data-end="1268"&gt;
&lt;LI class="" data-start="521" data-end="903"&gt;
&lt;P class="" data-start="524" data-end="903"&gt;&lt;STRONG data-start="524" data-end="542"&gt;Using a Filter&lt;/STRONG&gt;&lt;BR data-start="542" data-end="545" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;You can add a global filter rule like:&lt;BR data-start="586" data-end="589" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;CODE data-start="592" data-end="621"&gt;$AR_H_OPERATION != 'DELETE'&lt;/CODE&gt;&lt;BR data-start="621" data-end="624" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;This will cause all &lt;CODE data-start="647" data-end="655"&gt;DELETE&lt;/CODE&gt; operations to be ignored.&lt;BR data-start="681" data-end="684" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":warning:"&gt;⚠️&lt;/span&gt; &lt;EM data-start="690" data-end="697"&gt;Note:&lt;/EM&gt; This may lead to warnings or errors if the same primary key row is deleted and then re-inserted. Since the &lt;CODE data-start="801" data-end="809"&gt;DELETE&lt;/CODE&gt; is ignored, the &lt;CODE data-start="826" data-end="834"&gt;INSERT&lt;/CODE&gt; could result in a &lt;STRONG data-start="853" data-end="878"&gt;duplicate primary key&lt;/STRONG&gt; violation on the target.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="" data-start="521" data-end="903"&gt;&lt;STRONG&gt;Using Filter + UPSERT mode&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Similar to approach (1) however the &lt;CODE data-start="801" data-end="809"&gt;UPSERT&lt;/CODE&gt;mode will solve the &lt;STRONG&gt;duplicate PK&lt;/STRONG&gt; violation issue.&amp;nbsp;Check this article for more detailed info:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Implementing-UPSERT-and-MERGE-modes-by-applying-a/ta-p/1780009" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Implementing-UPSERT-and-MERGE-modes-by-applying-a/ta-p/1780009&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI class="" data-start="905" data-end="1268"&gt;
&lt;P class="" data-start="908" data-end="1268"&gt;&lt;STRONG data-start="908" data-end="929"&gt;Using Soft Delete&lt;/STRONG&gt;&lt;BR data-start="929" data-end="932" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;With this approach, Qlik Replicate still processes &lt;CODE data-start="986" data-end="994"&gt;DELETE&lt;/CODE&gt; operations from the source and replicates them to the target. However, instead of removing the row from the target, it marks the row with a "deleted" flag, this is known as a &lt;EM data-start="1169" data-end="1182"&gt;soft-delete&lt;/EM&gt;.&amp;nbsp;&lt;BR data-start="1183" data-end="1186" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;You can find more details in the related documentation/articles on soft-delete:&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Global-Transformation-Soft-Delete-Limitation/ta-p/2054414" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Global-Transformation-Soft-Delete-Limitation/ta-p/2054414&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-to-implement-quot-soft-quot-deletes-on-replicated-table/ta-p/1825769" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/How-to-implement-quot-soft-quot-deletes-on-replicated-table/ta-p/1825769&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-to-create-a-Qlik-Replicate-task-to-capture-soft-deletes-and/ta-p/2121662" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/How-to-create-a-Qlik-Replicate-task-to-capture-soft-deletes-and/ta-p/2121662&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 15:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2513894#M14094</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-04-10T15:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Never Capture DELETE´s  in QLIK Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2516299#M14246</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"$AR_H_OPERATION != 'DELETE' "&amp;nbsp; is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Perfect !!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you so much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 11:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2516299#M14246</guid>
      <dc:creator>Leandro_Medeiros</dc:creator>
      <dc:date>2025-04-30T11:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Never Capture DELETE´s  in QLIK Replicate</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2516300#M14247</link>
      <description>&lt;P&gt;Thank you so much for your outstanding support!&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/200866"&gt;@Leandro_Medeiros&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 12:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-Never-Capture-DELETE-s-in-QLIK-Replicate/m-p/2516300#M14247</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-04-30T12:13:05Z</dc:date>
    </item>
  </channel>
</rss>

