<?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: SQL Server source limitations Replication of table without primary key in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092847#M6695</link>
    <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Thanks for the reply. However what I'm trying to say is that with&amp;nbsp;&lt;SPAN&gt;neither MS-REPLICATION nor MS-CDC enabled, nothing is captured. No INSERT/DELETE/UPDATE, and no full load either. The task simply fails.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Mohammed&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 04:14:41 GMT</pubDate>
    <dc:creator>MoeE</dc:creator>
    <dc:date>2023-07-12T04:14:41Z</dc:date>
    <item>
      <title>SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092843#M6693</link>
      <description>&lt;P&gt;Hi guys.&lt;/P&gt;
&lt;P&gt;I saw in the SQL server source endpoint limitations "If your database is not set up for MS-REPLICATION or MS-CDC, you can still capture tables that do not have a Primary Key, but bear in mind that in such a setup only INSERT/DELETE DML events will be captured. UPDATE events will be ignored"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested this with neither MS-REPLICATION nor MS-CDC enabled and a table with no PK but the task failed with the error "The MS SQL Server instance is not set up for Replication".&lt;/P&gt;
&lt;P&gt;So is that limitation wrong or am I missing something? It seems that when both MS-REPLICATION and MS-CDC are not enabled then even full load won't work. Also when MS-REPLICATION only is enabled then this rule seems true. Can I please get some assistance on this?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 04:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092843#M6693</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2023-07-12T04:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092845#M6694</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for opening the article.&lt;/P&gt;
&lt;P&gt;You are right. &lt;SPAN&gt;With neither MS-REPLICATION nor MS-CDC enabled, only INSERT/DELETE can be captured. UPDATE cannot because insufficient information recorded in TLOG.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You may disable the&amp;nbsp;MS-REPLICATION check by adding an internal parameter in source endpoint:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ignoreMsReplicationEnablement&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;set to &lt;STRONG&gt;TRUE&lt;/STRONG&gt; and startup task again.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if it works for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 04:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092845#M6694</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-07-12T04:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092847#M6695</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Thanks for the reply. However what I'm trying to say is that with&amp;nbsp;&lt;SPAN&gt;neither MS-REPLICATION nor MS-CDC enabled, nothing is captured. No INSERT/DELETE/UPDATE, and no full load either. The task simply fails.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Mohammed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 04:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092847#M6695</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2023-07-12T04:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092848#M6696</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If both Full Load and CDC are enabled in a task, while the task starting up, both Full Load thread and CDC thread startup at same time:&lt;/P&gt;
&lt;P&gt;Full Load thread - transfer the history data&lt;/P&gt;
&lt;P&gt;CDC Source Capture thread - capture changes and cache them in memory or harddisk&lt;/P&gt;
&lt;P&gt;In your scenario, the CDC thread failed to startup and the task stopped. No Full Load or CDC threads transfer data yet. I think this is probably the reason.&lt;/P&gt;
&lt;P&gt;You may add the internal parameter in source endpoint, or disable change processing in task setting and see at least the Full Load should startup successfully.&lt;/P&gt;
&lt;P&gt;Hops this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 04:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092848#M6696</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-07-12T04:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092855#M6697</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Yep I can run Full Load only, but ultimately without MS-REPLICATION or MS-CDC configured on SQL Server, Replicate does not capture the INSERT or DELETE events despite the documentation saying that it should. This is where I am confused. Can you please confirm?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 05:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092855#M6697</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2023-07-12T05:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092859#M6698</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Sounds like you are missing some data... can you confirm the "Recovery Model" of the database is set to "Full" or "Bulk-logged"? for example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1689139456708.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/112051iCF7B83F382501B16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1689139456708.png" alt="john_wang_0-1689139456708.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 05:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092859#M6698</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-07-12T05:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092898#M6699</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Yep these settings are correct. Just to clarify this is what I did.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1) In SQL Server I created a table called Fish without a primary key.&lt;/P&gt;
&lt;P&gt;(2) Did a backup and recovery mode is set to Full.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(3) In SQL Server, I disabled distribution.&lt;/P&gt;
&lt;P&gt;After disabling distribution both MS-REPLICATION and MS-CDC are now disabled.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(4) I run the task in Full load only. It works successfully then stops.&lt;/P&gt;
&lt;P&gt;(5) I try to start the task with change processing but the task starts then stops instantly.&lt;/P&gt;
&lt;P&gt;I can't see how DELETE/INSERT are captured from step 5.&amp;nbsp; From here I am going with the assumption that the limitation quoted is a typo because without MS-REPLICATION or MS-CDC enabled, no sort of change will occur. Additionally the prerequisites state that MS-REPLICATION is required which is a contradiction to the limitation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MoeyE_0-1689145386990.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/112056i1B1321C4949F65D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MoeyE_0-1689145386990.png" alt="MoeyE_0-1689145386990.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this correct?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 07:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2092898#M6699</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2023-07-12T07:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2093959#M6714</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your patience.&lt;/P&gt;
&lt;P&gt;I'd confirmed in my labs that Replicate still captures INSERT and DELETE DMLs even both of &lt;STRONG&gt;MS-REPLICATION&lt;/STRONG&gt; and &lt;STRONG&gt;MS-CDC&lt;/STRONG&gt; are &lt;STRONG&gt;disabled&lt;/STRONG&gt;. Certainly, the UPDATE DMS is lost.&lt;/P&gt;
&lt;P&gt;(My test env is: Replicate 2023.5 + SQL Server 2019 on Windows Server 2019)&lt;/P&gt;
&lt;P&gt;There are warnings in the task run time (with &lt;STRONG&gt;ignoreMsReplicationEnablement &lt;/STRONG&gt;set true):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;The MS SQL Server instance is not set up for Replication.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;MS-REPLICATION is not enabled for table 'dbo.test'. Therefore, UPDATE changes to it will not be captured. If you want UPDATE changes to be captured, either define a Primary Key for the table (if missing) or enable Microsoft CDC instead.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Screen sample:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1689342648265.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/112299i9BE8F851559147FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1689342648265.png" alt="john_wang_0-1689342648265.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please set source_capture/source_unload to Verbose and check the task log file to understand further. If you need support help, please feel free to open a support ticket with attaching Diag Packages, we'd love to help to check further.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 13:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2093959#M6714</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-07-14T13:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2094167#M6723</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Thanks for going through this for me. I will try this latest method now.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 00:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2094167#M6723</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2023-07-17T00:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2094626#M6734</link>
      <description>&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yep I was able to do it with the internal parameter. Thanks for the help.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 03:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2094626#M6734</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2023-07-18T03:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server source limitations Replication of table without primary key</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2094627#M6735</link>
      <description>&lt;P&gt;Glad to hear that,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 03:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-source-limitations-Replication-of-table-without/m-p/2094627#M6735</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-07-18T03:36:30Z</dc:date>
    </item>
  </channel>
</rss>

