<?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: Create Primary Key on target SQL server in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473455#M12199</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147437"&gt;@amitw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Could you please check in advance endpoint settings what you have selected under '&lt;SPAN&gt;ABAP Core Data Services (CDS) views? :&amp;nbsp;ABAP Core Data Services (CDS) views&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We would also request please create a support case to check this further.&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;Sachin B&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2024 06:02:24 GMT</pubDate>
    <dc:creator>SachinB</dc:creator>
    <dc:date>2024-07-29T06:02:24Z</dc:date>
    <item>
      <title>Create Primary Key on target SQL server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473399#M12196</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;We have developed a full + CDC replicate task with SAP ODP endpoint as source and SQL server as target.&lt;/P&gt;
&lt;P&gt;We want the keys defined on the CDS views on Replicate task to be defined as primary keys on the target tables on SQL server.&lt;/P&gt;
&lt;P&gt;Currently the keys defined on replicate tasks are coming as NOT NULL on target SQL server .&lt;/P&gt;
&lt;P&gt;is there any feature that will allow replicate to define primary keys on the SQL server target?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2024 17:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473399#M12196</guid>
      <dc:creator>amitw</dc:creator>
      <dc:date>2024-07-28T17:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create Primary Key on target SQL server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473411#M12197</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147437"&gt;@amitw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I guess I did not understand the doubt accurately. By default Qlik Replicate creates Primary Key&amp;nbsp;with NOT NULL constraints in SQL Server target tables. For example:&lt;/P&gt;
&lt;TABLE style="background-color: lightgrey; width: 100%; border-style: none;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;FONT face="courier new,courier"&gt;CREATE TABLE [SCOTT].[KIT](&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[ID] [numeric](10, 0) NOT NULL,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[NAME] [varchar](20) NULL,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CONSTRAINT [KIT_KIT_KIT_PK] PRIMARY KEY CLUSTERED &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[ID] ASC&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;));&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Where "&lt;FONT face="courier new,courier"&gt;ID&lt;/FONT&gt;" is the Primary Key in source side table. The above table was created by Qlik Replicate in SQL Server target database.&lt;/P&gt;
&lt;P&gt;Would you please elaborate the question.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 01:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473411#M12197</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-29T01:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create Primary Key on target SQL server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473439#M12198</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In our case , Replicate did not create the primary key constraint in the target database ( SQL server ).&lt;/P&gt;
&lt;P&gt;It created the SQL server table with key column defined as NOT NULL.&lt;/P&gt;
&lt;P&gt;The source is S4 HANA ( SAP ODP endpoint).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 03:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473439#M12198</guid>
      <dc:creator>amitw</dc:creator>
      <dc:date>2024-07-29T03:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create Primary Key on target SQL server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473455#M12199</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147437"&gt;@amitw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Could you please check in advance endpoint settings what you have selected under '&lt;SPAN&gt;ABAP Core Data Services (CDS) views? :&amp;nbsp;ABAP Core Data Services (CDS) views&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We would also request please create a support case to check this further.&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;Sachin B&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 06:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Create-Primary-Key-on-target-SQL-server/m-p/2473455#M12199</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2024-07-29T06:02:24Z</dc:date>
    </item>
  </channel>
</rss>

