<?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 add RRN to specific table. in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539876#M15702</link>
    <description>&lt;P&gt;Hello John&lt;/P&gt;&lt;P&gt;How is additional question ?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Thu, 25 Dec 2025 01:35:16 GMT</pubDate>
    <dc:creator>iti-attunity-sup</dc:creator>
    <dc:date>2025-12-25T01:35:16Z</dc:date>
    <item>
      <title>How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539370#M15671</link>
      <description>&lt;P&gt;Hello support team.&lt;/P&gt;&lt;P&gt;We would like to add RRN to specifc table which has unique index.&lt;BR /&gt;We understand "Add RRN column to all target tables" option,&lt;BR /&gt;but we wolud like to add RRN to specifc table not all tables.(not to separate task)&lt;/P&gt;&lt;P&gt;So, would you tell me how to add RRN to specific table.&lt;/P&gt;&lt;P&gt;[INFO]&lt;BR /&gt;Source : DB2 for iSeries&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 08:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539370#M15671</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2025-12-17T08:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539393#M15672</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="50" data-end="127"&gt;You can follow the steps below to add an &lt;STRONG data-start="91" data-end="98"&gt;RRN&lt;/STRONG&gt; column for a specific table:&lt;/P&gt;
&lt;OL data-start="129" data-end="341"&gt;
&lt;LI data-start="129" data-end="193"&gt;
&lt;P data-start="132" data-end="193"&gt;In the endpoint settings, select &lt;STRONG data-start="165" data-end="193"&gt;“Do not add RRN column.”&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_3-1765966496666.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185846i85623D32BA9A5D89/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_3-1765966496666.png" alt="john_wang_3-1765966496666.png" /&gt;&lt;/span&gt;&amp;nbsp;
&lt;P data-start="132" data-end="193"&gt;&lt;STRONG data-start="165" data-end="193"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="194" data-end="268"&gt;
&lt;P data-start="197" data-end="268"&gt;In &lt;STRONG data-start="200" data-end="219"&gt;Transformations&lt;/STRONG&gt;, add an additional column and name it &lt;STRONG&gt;RRN&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_4-1765966507002.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185847i043805DF3A978289/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_4-1765966507002.png" alt="john_wang_4-1765966507002.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="269" data-end="341"&gt;
&lt;P data-start="272" data-end="341"&gt;Define the &lt;STRONG&gt;RRN&lt;/STRONG&gt; expression accordingly. For example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;source_lookup('NO_CACHING','APSUPDB','KIT','RRN("APSUPDB"."KIT")','ID=?',$ID)&lt;/LI-CODE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_5-1765966567932.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185848i736DA448182C269C/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_5-1765966567932.png" alt="john_wang_5-1765966567932.png" /&gt;&lt;/span&gt;
&lt;P&gt;where "ID" is the Unique Index of the source table "KIT" in database "APSUPDB".&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 10:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539393#M15672</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-12-17T10:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539469#M15678</link>
      <description>&lt;P&gt;Hello John.&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Additionally, would you tell me following ?&lt;/P&gt;&lt;P&gt;1. By this setting, does Qlik Replicate use RRN in CDC ? (replicate ui table by using RRN)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Because source table unique index is using where phrase, unique index is not unique entire table.&lt;/P&gt;&lt;P&gt;2. Although I mentioned specific table, I would also like to add RRN to no pk/ui tables. (not only specific table)&lt;BR /&gt;Is this setting effective with set "Add RRN column to tables without a Primary key or Unique Index" ?&lt;BR /&gt;&lt;BR /&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 00:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539469#M15678</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2025-12-18T00:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539470#M15679</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG data-start="48" data-end="67"&gt;Yes, of course.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG data-start="72" data-end="88"&gt;Not exactly.&lt;/STRONG&gt; If the table has neither a primary key nor a unique index, the &lt;STRONG&gt;source_lookup()&lt;/STRONG&gt;&amp;nbsp;function cannot be used, as it will not behave as expected.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 01:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539470#M15679</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-12-18T01:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539471#M15680</link>
      <description>&lt;P&gt;Hello John.&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;gt;2. Not exactly. If the table has neither a primary key nor a unique index, the source_lookup() function cannot be used, as it will not behave as expected.&lt;/P&gt;&lt;P&gt;Could you tell me following&lt;/P&gt;&lt;P&gt;3. Source table unique index is using where phrase, so unique index column is not unique entire table.&lt;BR /&gt;In this situation, is it possible to use this settings ?&lt;BR /&gt;(If no, I would like to know there is other way)&lt;/P&gt;&lt;P&gt;4. Is it possbile to set following in same task.&lt;BR /&gt;- Set "Add RRN column to tables without a Primary key or Unique Index" (to add RRN to no pk/ui tables)&lt;BR /&gt;- Set Additional RRN in Transformation (to add RRN to ui table)&lt;BR /&gt;&lt;BR /&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 01:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539471#M15680</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2025-12-18T01:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539621#M15696</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It seems I may not have fully understood question (3). Could you please elaborate?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;4. Is it possible to set following in same task.&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, you are correct. However, please note that the performance of the &lt;STRONG&gt;source_lookup()&lt;/STRONG&gt; function is not as efficient as Replicate’s internal RRN-based operation.&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>Fri, 19 Dec 2025 07:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539621#M15696</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-12-19T07:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539628#M15698</link>
      <description>&lt;P&gt;Hello John.&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;gt;It seems I may not have fully understood question (3). Could you please elaborate?&lt;/P&gt;&lt;P&gt;Source table has unique index like following.&lt;/P&gt;&lt;P&gt;===========================&lt;BR /&gt;CREATE UNIQUE INDEX &amp;lt;INDEX_A&amp;gt; ON &amp;lt;TABLE_A&amp;gt; (&amp;lt;COLUMN1&amp;gt;,&amp;lt;COLUMN2&amp;gt;,&amp;lt;COLUMN3&amp;gt;,&amp;lt;COLUMN4&amp;gt;) WHERE &amp;lt;COLUMN1&amp;gt; LIKE 'XXXX' AND &amp;lt;COLUMN1&amp;gt; LIKE 'XXXX'&lt;BR /&gt;===========================&lt;/P&gt;&lt;P&gt;This table is replicate by using unique index, but unique index column is not unique in entire table. (because unique index has where phrase)&lt;BR /&gt;So we would like to replicate this table by using RRN (not unique index column).&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 09:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539628#M15698</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2025-12-19T09:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539876#M15702</link>
      <description>&lt;P&gt;Hello John&lt;/P&gt;&lt;P&gt;How is additional question ?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 25 Dec 2025 01:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539876#M15702</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2025-12-25T01:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to add RRN to specific table.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539883#M15703</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;This table is replicate by using unique index, but unique index column is not unique in entire table. (because unique index has where phrase)&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, in this case using &lt;STRONG data-start="92" data-end="131"&gt;RRN as the target table primary key&lt;/STRONG&gt; is a better option, unless the target database also supports partial indexes.&lt;/P&gt;
&lt;P data-start="211" data-end="254"&gt;However, please keep the following in mind:&lt;/P&gt;
&lt;OL data-start="256" data-end="629"&gt;
&lt;LI data-start="256" data-end="366"&gt;
&lt;P data-start="259" data-end="366"&gt;If the &lt;STRONG&gt;search condition falls within the WHERE clause&lt;/STRONG&gt; of the partial index, performance will be good.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="367" data-end="511"&gt;
&lt;P data-start="370" data-end="511"&gt;If the &lt;STRONG&gt;search condition falls outside the WHERE clause&lt;/STRONG&gt;, it may result in a full table scan, which can significantly impact performance.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="512" data-end="629"&gt;
&lt;P data-start="515" data-end="629"&gt;If the &lt;STRONG&gt;search condition is outside the scope of the unique index&lt;/STRONG&gt;, only the first matching row may be returned.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Dec 2025 15:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-add-RRN-to-specific-table/m-p/2539883#M15703</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-12-25T15:53:22Z</dc:date>
    </item>
  </channel>
</rss>

