<?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 Auto-increment/identity column in Snowflake table loaded by Qlik Replicate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Auto-increment-identity-column-in-Snowflake-table-loaded-by-Qlik/m-p/1936850#M1227400</link>
    <description>&lt;P&gt;I am loading data from a flat file (csv) into a Snowflake table using Qlik Replicate tool. In the Snowflake table, I have a column called "load_rec_num" to store something like ROWNUM of Oracle, that is, an auto incrementing numeric value as data is getting loaded.&lt;/P&gt;
&lt;P&gt;I tried 3 approaches on "load_rec_num", all from inside Snowflake, but none is working :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;created "load_rec_num" as an identity column&lt;/LI&gt;
&lt;LI&gt;created a sequence and had column "load_rec_num" default to sequence.nextval : load_rec_num DEFAULT MY_SEQ.nextval&lt;/LI&gt;
&lt;LI&gt;created "load_rec_num" with the autoincrement keyword : load_rec_num autoincrement start 1 increment 1&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;None of these worked for the data load operation. Data got loaded into the table (using the Qlik Replicate jobs) but the column value was NULL. However, when I run INSERT sqls on the same table, this column "load_rec_num" got populated with a number, but that is not what I am looking for.&lt;/P&gt;
&lt;P&gt;Is there a way (either from inside Snowflake or by some &amp;nbsp;transformation from inside Qlik Replicate task or by using SQLite statements inside Qlik Replicate) whereby the column "load_rec_num" can be automatically loaded with auto-incrementing number when the data load is happening from Qlik Replicate tool ?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.myaccountaccess.one/" target="_self"&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;MyAccountAccess Credit Card&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
    <dc:creator>MiguelHathaway</dc:creator>
    <dc:date>2026-01-26T21:26:37Z</dc:date>
    <item>
      <title>Auto-increment/identity column in Snowflake table loaded by Qlik Replicate</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-increment-identity-column-in-Snowflake-table-loaded-by-Qlik/m-p/1936850#M1227400</link>
      <description>&lt;P&gt;I am loading data from a flat file (csv) into a Snowflake table using Qlik Replicate tool. In the Snowflake table, I have a column called "load_rec_num" to store something like ROWNUM of Oracle, that is, an auto incrementing numeric value as data is getting loaded.&lt;/P&gt;
&lt;P&gt;I tried 3 approaches on "load_rec_num", all from inside Snowflake, but none is working :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;created "load_rec_num" as an identity column&lt;/LI&gt;
&lt;LI&gt;created a sequence and had column "load_rec_num" default to sequence.nextval : load_rec_num DEFAULT MY_SEQ.nextval&lt;/LI&gt;
&lt;LI&gt;created "load_rec_num" with the autoincrement keyword : load_rec_num autoincrement start 1 increment 1&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;None of these worked for the data load operation. Data got loaded into the table (using the Qlik Replicate jobs) but the column value was NULL. However, when I run INSERT sqls on the same table, this column "load_rec_num" got populated with a number, but that is not what I am looking for.&lt;/P&gt;
&lt;P&gt;Is there a way (either from inside Snowflake or by some &amp;nbsp;transformation from inside Qlik Replicate task or by using SQLite statements inside Qlik Replicate) whereby the column "load_rec_num" can be automatically loaded with auto-incrementing number when the data load is happening from Qlik Replicate tool ?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.myaccountaccess.one/" target="_self"&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;MyAccountAccess Credit Card&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-increment-identity-column-in-Snowflake-table-loaded-by-Qlik/m-p/1936850#M1227400</guid>
      <dc:creator>MiguelHathaway</dc:creator>
      <dc:date>2026-01-26T21:26:37Z</dc:date>
    </item>
  </channel>
</rss>

