<?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 create a auto-increment column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354944#M120804</link>
    <description>Hi,&lt;BR /&gt;I don't know which component I should use to add auto-increment column that does not exist in the source table. actually I'm trying to extract some columns from a postgreSQL input and meantime trying to add an autoincrement column which i want to turn into primary key in the output table.I've been trying with Tmap but in vain...for example :&lt;BR /&gt;(from postgreSQL input -----&amp;gt; Tmap ------------&amp;gt; postgreSQL output)&lt;BR /&gt;postgreSQL input&lt;BR /&gt;_____________________________&lt;BR /&gt;TASK_NAME | TASK_DESCRIPTION&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;ADD            | add_client_op&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;CHNG          | change_client_ref&lt;BR /&gt;----------------------------------------&lt;BR /&gt;and I wish to have as a result in the output db&lt;BR /&gt;___________________________________________&lt;BR /&gt;PK_DIM_TASK | TASK_NAME | TESK_DESCRIPTION&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;1                    |ADD             | add_client_op&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;2                    |CHNG           | change_client_ref&lt;BR /&gt;-----------------------------------------------------------&lt;BR /&gt;any help please? I'd be so grateful.&lt;BR /&gt;fantom</description>
    <pubDate>Wed, 09 May 2012 17:42:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-09T17:42:53Z</dc:date>
    <item>
      <title>create a auto-increment column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354944#M120804</link>
      <description>Hi,&lt;BR /&gt;I don't know which component I should use to add auto-increment column that does not exist in the source table. actually I'm trying to extract some columns from a postgreSQL input and meantime trying to add an autoincrement column which i want to turn into primary key in the output table.I've been trying with Tmap but in vain...for example :&lt;BR /&gt;(from postgreSQL input -----&amp;gt; Tmap ------------&amp;gt; postgreSQL output)&lt;BR /&gt;postgreSQL input&lt;BR /&gt;_____________________________&lt;BR /&gt;TASK_NAME | TASK_DESCRIPTION&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;ADD            | add_client_op&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;CHNG          | change_client_ref&lt;BR /&gt;----------------------------------------&lt;BR /&gt;and I wish to have as a result in the output db&lt;BR /&gt;___________________________________________&lt;BR /&gt;PK_DIM_TASK | TASK_NAME | TESK_DESCRIPTION&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;1                    |ADD             | add_client_op&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;2                    |CHNG           | change_client_ref&lt;BR /&gt;-----------------------------------------------------------&lt;BR /&gt;any help please? I'd be so grateful.&lt;BR /&gt;fantom</description>
      <pubDate>Wed, 09 May 2012 17:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354944#M120804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-09T17:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: create a auto-increment column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354945#M120805</link>
      <description>Hi Fantom
&lt;BR /&gt;You might simply add a new column in Out1 of tMap.
&lt;BR /&gt;Type Numeric.sequence("s1",1,1) in the expression field of this column.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 10 May 2012 04:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354945#M120805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-10T04:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: create a auto-increment column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354946#M120806</link>
      <description>Hi pedro,&lt;BR /&gt;thanks a lot for your help, it worked, and actually the mistake I've been doing is that I was trying to write something like altering the table to add a column then turn it into primary key I didn't mention the 'sequence' in Numeric from the categories (does the same work) &lt;BR /&gt;I'm so grateful.&lt;BR /&gt;best regards.</description>
      <pubDate>Thu, 10 May 2012 12:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354946#M120806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-10T12:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: create a auto-increment column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354947#M120807</link>
      <description>&lt;P&gt;Just want to comment one more important notes:&lt;/P&gt;
&lt;P&gt;- Change the Variable to Int (because by default, it is String)&lt;/P&gt;
&lt;P&gt;- Change the destination auto increase column to Int also&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 06:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/create-a-auto-increment-column/m-p/2354947#M120807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T06:46:38Z</dc:date>
    </item>
  </channel>
</rss>

