<?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: Incremental Surrogate Key in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318824#M89133</link>
    <description>&lt;P&gt;Let's Say I am taking Max(column) in toraclerow at the start of the Job.So in tmap is it should be like Numeric.sequence(s1,Max(Column),1)?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 17:16:26 GMT</pubDate>
    <dc:creator>abhi90</dc:creator>
    <dc:date>2018-01-23T17:16:26Z</dc:date>
    <item>
      <title>Incremental Surrogate Key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318822#M89131</link>
      <description>&lt;P&gt;We have an column in Database which is Primary Key. We want to load this using Numeric.sequence(s1,1,1) But problem is in 2nd Run the value of column will start again from 1. How to start it after the last Value generated in Last Run.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318822#M89131</guid>
      <dc:creator>abhi90</dc:creator>
      <dc:date>2018-01-23T16:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Surrogate Key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318823#M89132</link>
      <description>&lt;P&gt;Try to get the max value of the primary key column from that table at the start of the job, Store it in a variable and then increment it for each record.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 17:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318823#M89132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-23T17:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Surrogate Key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318824#M89133</link>
      <description>&lt;P&gt;Let's Say I am taking Max(column) in toraclerow at the start of the Job.So in tmap is it should be like Numeric.sequence(s1,Max(Column),1)?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 17:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318824#M89133</guid>
      <dc:creator>abhi90</dc:creator>
      <dc:date>2018-01-23T17:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Surrogate Key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318825#M89134</link>
      <description>&lt;P&gt;Yes Abhi.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 17:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318825#M89134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-23T17:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Surrogate Key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318826#M89135</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMX5AAO"&gt;@manishrnjn&lt;/A&gt;&amp;nbsp; how can we store int value in Context Variable.&lt;/P&gt;
&lt;P&gt;can you please explain, bcaz am getting an error if i declare variable as int.&lt;/P&gt;
&lt;P&gt;PFA screenshot&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LupZ"&gt;Capture.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuN4"&gt;Capture_1.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 11 Mar 2019 10:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318826#M89135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-11T10:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Surrogate Key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318827#M89136</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Currently you are storing the data of Context variable from same variable.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M31b.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137344i0E1C71224624A74B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M31b.png" alt="0683p000009M31b.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This will create issue. Could you please read the data from database and assign it to context variable through a tjavarow.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tDBInput-&amp;gt;tJavarow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;context.variable=input_row.max_value;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In this way, the data will be loaded to context variable. After that, you can assign this context variable within sequence.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 01:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318827#M89136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T01:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Surrogate Key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318828#M89137</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried it but am getting the same error.&lt;/P&gt; 
&lt;P&gt;Can you please explain in detail.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 06:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318828#M89137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T06:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Surrogate Key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318829#M89138</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Could you please share the new job flow screen shots after change along with context tab screenshot for reference?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 19:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incremental-Surrogate-Key/m-p/2318829#M89138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-13T19:17:07Z</dc:date>
    </item>
  </channel>
</rss>

