<?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 ignore drop statement on a source for Store Changes option? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030125#M4784</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have SQL Server as a source. The replicate task is defined with stored changes and DDL option apply to the change table.&amp;nbsp; When drop statement executed on the source our target _CT table got dropped.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to ignore drop statement on the source with "Store Changes Processing" is On? We want to apply other DDL changes except drop statement.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 22:09:25 GMT</pubDate>
    <dc:creator>eksmirnova</dc:creator>
    <dc:date>2023-01-25T22:09:25Z</dc:date>
    <item>
      <title>How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030125#M4784</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have SQL Server as a source. The replicate task is defined with stored changes and DDL option apply to the change table.&amp;nbsp; When drop statement executed on the source our target _CT table got dropped.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to ignore drop statement on the source with "Store Changes Processing" is On? We want to apply other DDL changes except drop statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 22:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030125#M4784</guid>
      <dc:creator>eksmirnova</dc:creator>
      <dc:date>2023-01-25T22:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030129#M4785</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/215166"&gt;@eksmirnova&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no such option to just ignore the drop statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I encourage you to submit a feature request here if this is something you would like to see in the product:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 22:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030129#M4785</guid>
      <dc:creator>SwathiPulagam</dc:creator>
      <dc:date>2023-01-25T22:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030452#M4795</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/215166"&gt;@eksmirnova&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144170"&gt;@SwathiPulagam&lt;/a&gt;&amp;nbsp;mentioned, with the Store changes option we cannot specifically choose which DDL to ignore. But as an alternative, on the target DB we can remove the drop access/permission to the Replicate user.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 15:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030452#M4795</guid>
      <dc:creator>shashi_holla</dc:creator>
      <dc:date>2023-01-26T15:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030454#M4796</link>
      <description>&lt;P&gt;What will happen to the Qlik task in that case? Will it suspend that table when drop statement happened or task will fail?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 15:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030454#M4796</guid>
      <dc:creator>eksmirnova</dc:creator>
      <dc:date>2023-01-26T15:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030460#M4797</link>
      <description>&lt;P&gt;There would be a warning on the task mentioning the drop statement failed. But the task would still be running.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 16:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030460#M4797</guid>
      <dc:creator>shashi_holla</dc:creator>
      <dc:date>2023-01-26T16:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030621#M4811</link>
      <description>&lt;P&gt;I'd consider that a bug, not a feature request. Compare the DROP to a TRUNCATE. After a Truncate the change table will simply have a 'Truncated' row. There should be a similar DDL event in the change table for DROP and CREATE. After all, those changes were not dropped. They still have happened and should stay. By contrast on a drop the base table data is gone from source and target and should be gone.&amp;nbsp; Just imagine the CT table is used for auditing. It should not be possible to 'hide' a malicious change by dropping the base table.&lt;/P&gt;
&lt;P&gt;[I should just try but I will not just now but]&amp;nbsp; Are there truly no applicable "&lt;SPAN&gt;Store Changes Settings" in the Task Settings? Like&amp;nbsp;&lt;/SPAN&gt;&lt;LABEL class="ng-binding"&gt;DDL options: [&lt;/LABEL&gt;&lt;SPAN&gt;Ignore], or&amp;nbsp;&lt;SPAN&gt;Change Table Creation:&lt;/SPAN&gt; &amp;nbsp;[&lt;SPAN&gt;Keep old changes and store new changes in existing change table]?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;At the very least the Apply Changes Settings "&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LABEL class="bold ng-binding"&gt;DDL Handling Policy" -&amp;nbsp;&lt;/LABEL&gt;&lt;SPAN&gt;When source table is dropped: [&lt;/SPAN&gt;&lt;SPAN&gt;Ignore DROP] should be honored is it not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From the doc : "Handling truncate operations&lt;BR /&gt;TRUNCATE operations will not truncate the Change Table. Instead, an additional record will be added to the&lt;BR /&gt;table with operation=TRUNCATE.".&amp;nbsp; &amp;nbsp;Seems to me Replicate should offer something like this for drop and create.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;fwiw,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hein&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 00:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030621#M4811</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-01-27T00:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030664#M4812</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/215166"&gt;@eksmirnova&lt;/a&gt;&amp;nbsp;, copy&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/158833"&gt;@shashi_holla&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144170"&gt;@SwathiPulagam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Agree with Hein. May we know what's the target side DB type and version? If we we are lucky enough we may find out a workaround.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 05:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030664#M4812</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-01-27T05:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030915#M4821</link>
      <description>&lt;P&gt;Target is Snowflake on Azure&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 15:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2030915#M4821</guid>
      <dc:creator>eksmirnova</dc:creator>
      <dc:date>2023-01-27T15:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore drop statement on a source for Store Changes option?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2031088#M4825</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/215166"&gt;@eksmirnova&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P&gt;To be honest I totally agree with Hein, please open support ticket to get enhancement/fix. In summary, the DDL precision control in Store Changes mode can be sharper, eg distinguishing the DROP TABLE from other DDLs.&lt;/P&gt;
&lt;P&gt;I can modify the DROP TABLE syntax in my test labs but it may introduce potential issues, it's &lt;STRONG&gt;&lt;EM&gt;not recommended&lt;/EM&gt;&lt;/STRONG&gt; to use it in your PROD system. The details:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&amp;nbsp;Add an internal parameter "$info.query_syntax.drop_table" in Snowflake target endpoint, and set its value to a dummy query eg "select 1". Sample:
&lt;DIV id="tinyMceEditor_120edd19d721b92john_wang_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1674878790659.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/99051iC2AD9169CBC986B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1674878790659.png" alt="john_wang_0-1674878790659.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2.&amp;nbsp; Please take note after redirect the DROP TABLE SQL, it impacts the product designed behavior hence it's not recommended to use in your PROD env. The best approach is Qlik R&amp;amp;D provides fixes and/or enhancements for the behavior.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 04:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-ignore-drop-statement-on-a-source-for-Store-Changes/m-p/2031088#M4825</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-01-28T04:12:45Z</dc:date>
    </item>
  </channel>
</rss>

