<?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>article Qlik Replicate and SQL Server Replication: Enable CDC in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/ta-p/1752142</link>
    <description>&lt;DIV class="lia-message-template-desc-zone"&gt;
&lt;H2&gt;&lt;SPAN&gt;How to setup replication for on-premise Microsoft SQL source endpoint with enabling CDC.&lt;/SPAN&gt;&lt;/H2&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-env-zone"&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Setting up Microsoft SQL Server for Replication If you are using Microsoft SQL Server as the source in a Qlik Replicate task, you need to enable your Microsoft SQL Server database for MS-REPLICATION.&lt;/P&gt;
&lt;P&gt;In the Microsoft SQL Server’s Management Studio, follow the instructions provided by the Configure Distribution wizard to set up replication or see the Microsoft SQL Server documentation. To open the wizard from Microsoft SQL Server:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In the Microsoft SQL Server Management Studio, right-click the Replication folder and select Configure Distribution. The Configure Distribution wizard opens.&lt;/LI&gt;
&lt;LI&gt;Make the following selections: In the Distributor step, select will act as its own distributor; Microsoft SQL Server will create a distribution database and log. Replicating Tables that do not have a Primary Key&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Note This functionality is supported only for Microsoft SQL Server Enterprise edition. By default, Qlik Replicate automatically sets up MS-REPLICATION for each of the source tables in a replication task.&lt;/P&gt;
&lt;P&gt;However, MS-REPLICATION requires each of the source tables to have a primary key, which may not always be the case. Therefore, if you need to replicate tables that do not have a primary key, the following options are available:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;#Use MS-CD&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#Do not use MS-Replication or MS-CDC&lt;/FONT&gt;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Use MS-CDC&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;To set up MS-CDC, you first need to enable MS-CDC for the database by running the following command: use [DBname] EXEC sys.sp_cdc_enable_db Then you need to enable MS-CDC for each of the source tables by running the following command: EXECUTE sys.sp_cdc_enable_table &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95739"&gt;@Source&lt;/a&gt;_schema = N'MySchema', &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95739"&gt;@Source&lt;/a&gt;_ name = N'MyTable', @role_name = NULL;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Do not Use MS-Replication or MS-CDC&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;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. It is also important to note that a DELETE statement executed on an UPDATED source record, will not be applied on the target.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-info"&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at its own discretion. Depending on the tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 22 May 2023 12:45:48 GMT</pubDate>
    <dc:creator>David_Fergen</dc:creator>
    <dc:date>2023-05-22T12:45:48Z</dc:date>
    <item>
      <title>Qlik Replicate and SQL Server Replication: Enable CDC</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/ta-p/1752142</link>
      <description>&lt;DIV class="lia-message-template-desc-zone"&gt;
&lt;H2&gt;&lt;SPAN&gt;How to setup replication for on-premise Microsoft SQL source endpoint with enabling CDC.&lt;/SPAN&gt;&lt;/H2&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-env-zone"&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Setting up Microsoft SQL Server for Replication If you are using Microsoft SQL Server as the source in a Qlik Replicate task, you need to enable your Microsoft SQL Server database for MS-REPLICATION.&lt;/P&gt;
&lt;P&gt;In the Microsoft SQL Server’s Management Studio, follow the instructions provided by the Configure Distribution wizard to set up replication or see the Microsoft SQL Server documentation. To open the wizard from Microsoft SQL Server:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In the Microsoft SQL Server Management Studio, right-click the Replication folder and select Configure Distribution. The Configure Distribution wizard opens.&lt;/LI&gt;
&lt;LI&gt;Make the following selections: In the Distributor step, select will act as its own distributor; Microsoft SQL Server will create a distribution database and log. Replicating Tables that do not have a Primary Key&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Note This functionality is supported only for Microsoft SQL Server Enterprise edition. By default, Qlik Replicate automatically sets up MS-REPLICATION for each of the source tables in a replication task.&lt;/P&gt;
&lt;P&gt;However, MS-REPLICATION requires each of the source tables to have a primary key, which may not always be the case. Therefore, if you need to replicate tables that do not have a primary key, the following options are available:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;#Use MS-CD&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#Do not use MS-Replication or MS-CDC&lt;/FONT&gt;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Use MS-CDC&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;To set up MS-CDC, you first need to enable MS-CDC for the database by running the following command: use [DBname] EXEC sys.sp_cdc_enable_db Then you need to enable MS-CDC for each of the source tables by running the following command: EXECUTE sys.sp_cdc_enable_table &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95739"&gt;@Source&lt;/a&gt;_schema = N'MySchema', &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95739"&gt;@Source&lt;/a&gt;_ name = N'MyTable', @role_name = NULL;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Do not Use MS-Replication or MS-CDC&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;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. It is also important to note that a DELETE statement executed on an UPDATED source record, will not be applied on the target.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-info"&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at its own discretion. Depending on the tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 May 2023 12:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/ta-p/1752142</guid>
      <dc:creator>David_Fergen</dc:creator>
      <dc:date>2023-05-22T12:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Replication - Enable CDC</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/1969929#M7105</link>
      <description>&lt;P&gt;Can we enable&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;both MS-Replication and MS-CDC for same database?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 18:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/1969929#M7105</guid>
      <dc:creator>gulshanr</dc:creator>
      <dc:date>2022-08-17T18:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Replication - Enable CDC</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/1989438#M7464</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/182384"&gt;@gulshanr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you give us more information on what you are attempting to achieve so we can assist you with this question?&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 08:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/1989438#M7464</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2022-10-06T08:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server Replication - Enable CDC</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/1989563#M7467</link>
      <description>&lt;P&gt;We wanted to have CDC as well as MS replication at DB level, Butour tasks were failing. We applied some setting at task level and solved our issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 11:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/1989563#M7467</guid>
      <dc:creator>gulshanr</dc:creator>
      <dc:date>2022-10-06T11:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate and SQL Server Replication: Enable CDC</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/2490996#M14893</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just confirming. This is only if you want to use CDC? I've been able to do full loads only in the past for this. Has this changed in newer versions where you now need MS-REPLICATION or MS-CDC enabled for full loads?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 06:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/2490996#M14893</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-11-06T06:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate and SQL Server Replication: Enable CDC</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/2492478#M14936</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;I checked with one of our Qlik Replicate experts for you.&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;No, this is for Full Load only tasks, no CDC is required: no MS-Replication needed, nor MS-CDC needed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 10:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-SQL-Server-Replication-Enable-CDC/tac-p/2492478#M14936</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-11-13T10:00:23Z</dc:date>
    </item>
  </channel>
</rss>

