<?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: Is there any unique row number generator in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371515#M134454</link>
    <description>If I understand you want to Incremental a SEQUENCE to store in a FILE, right ? 
&lt;BR /&gt;This sequence value is coming from an Oracle Table, right ? 
&lt;BR /&gt;The only way of doing it is to call the current SEQUENCE VALUE from a tOracleInput at the begining of your JOB; and then use this value as a ContextVariable to start your Numeric.Sequence routine in your tMap; then this values will be written in your FILES. 
&lt;BR /&gt;In the meantime if you need to refresh the Sequence at the end of your PROCESS; you will have to call a tOracleROW and perform the query to update your SEQUENCE value with the current Numeric.Sequence or do a + File_NUMBER_OF_ROWS from the Global Variable. 
&lt;BR /&gt;Hope it helps.</description>
    <pubDate>Tue, 26 Feb 2013 13:43:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-26T13:43:49Z</dc:date>
    <item>
      <title>Is there any unique row number generator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371509#M134448</link>
      <description>Hi all,
&lt;BR /&gt; I want to load the data from dimension tables to fact table. In this case i have to load the unique row number in fact table . Its like as a sequence generator in ETL- Inofrmatica . How can i do ? plz expecting ur reply
&lt;BR /&gt;thanks
&lt;BR /&gt;guru</description>
      <pubDate>Sat, 16 Nov 2024 13:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371509#M134448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any unique row number generator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371510#M134449</link>
      <description>There is the tAddSequence component in the Misc category. It adds a unique row number at the and of the flow. Give that a try.</description>
      <pubDate>Tue, 16 Feb 2010 20:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371510#M134449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-16T20:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any unique row number generator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371511#M134450</link>
      <description>That's not a standard component.  In tMap, you can have a field populated with Numeric.sequence("&amp;lt;sequence name&amp;gt;",&amp;lt;seed value&amp;gt;,&amp;lt;increment step&amp;gt;).</description>
      <pubDate>Fri, 05 Mar 2010 05:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371511#M134450</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2010-03-05T05:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any unique row number generator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371512#M134451</link>
      <description>how can i keep track of highest sequence value from my previous job execution?&lt;BR /&gt;i don't want to start the sequence to start from min value each time on each job execution.</description>
      <pubDate>Tue, 26 Feb 2013 00:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371512#M134451</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-02-26T00:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any unique row number generator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371513#M134452</link>
      <description>If you have a Database SEQUENCE for example it exist in ORACLE you can reuse the Oracle Sequence using the Additional Columns fucntion of the Advanced TAB of your DatabaseOutput component.
&lt;BR /&gt;You name the COLUMN where you want to put the SEQUENCE; you use the Position Replace; and then you use the proper expression in the SQL expression (for example my_seq.nextval).
&lt;BR /&gt;Another scenario would be to have a connector that RETRIEVE your SEQ first; then you assign the VALUE to a a Context variable and you start from there a Talend sequence using the routine Numeric.sequence.
&lt;BR /&gt;There is so many ways for doing it.
&lt;BR /&gt;Which one are you looking forward; the one which stick with the DB; or the one which is less DB activity consuming etc...
&lt;BR /&gt;Best regards.</description>
      <pubDate>Tue, 26 Feb 2013 02:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371513#M134452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-26T02:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any unique row number generator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371514#M134453</link>
      <description>Hi cantoine,
&lt;BR /&gt;i could run my job successfully when i had Oracle Table as my final table.
&lt;BR /&gt;how can i achieve same results if i want to write into a delimited file.
&lt;BR /&gt;i dont want to use second approach mentioned in your previous reply.
&lt;BR /&gt;thank you for your quick response.</description>
      <pubDate>Tue, 26 Feb 2013 05:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371514#M134453</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-02-26T05:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any unique row number generator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371515#M134454</link>
      <description>If I understand you want to Incremental a SEQUENCE to store in a FILE, right ? 
&lt;BR /&gt;This sequence value is coming from an Oracle Table, right ? 
&lt;BR /&gt;The only way of doing it is to call the current SEQUENCE VALUE from a tOracleInput at the begining of your JOB; and then use this value as a ContextVariable to start your Numeric.Sequence routine in your tMap; then this values will be written in your FILES. 
&lt;BR /&gt;In the meantime if you need to refresh the Sequence at the end of your PROCESS; you will have to call a tOracleROW and perform the query to update your SEQUENCE value with the current Numeric.Sequence or do a + File_NUMBER_OF_ROWS from the Global Variable. 
&lt;BR /&gt;Hope it helps.</description>
      <pubDate>Tue, 26 Feb 2013 13:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371515#M134454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-26T13:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any unique row number generator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371516#M134455</link>
      <description>cantoine,
&lt;BR /&gt;thank you for your guidance. i created my job as per the design. Also i used below sql in tOracleRow componenent to have the sequence recreated in DB after completion of my processing logic. 
&lt;BR /&gt;
&lt;BR /&gt;"begin
&lt;BR /&gt;execute immediate 'drop sequence customer_ID';
&lt;BR /&gt;execute immediate 'CREATE SEQUENCE customer_ID
&lt;BR /&gt; START WITH "+ Integer.valueOf(Integer.parseInt((String)globalMap.get("currVal"))) +"
&lt;BR /&gt; MAXVALUE 999999999999999999999999999
&lt;BR /&gt; MINVALUE 1
&lt;BR /&gt; NOCYCLE
&lt;BR /&gt; CACHE 20
&lt;BR /&gt; NOORDER';
&lt;BR /&gt;end;
&lt;BR /&gt;"</description>
      <pubDate>Tue, 26 Feb 2013 22:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-there-any-unique-row-number-generator/m-p/2371516#M134455</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-02-26T22:32:46Z</dc:date>
    </item>
  </channel>
</rss>

