<?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: Updating a DB2 Table which has AUTO INCREMENT in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225234#M17625</link>
    <description>Yes, you are absolutely right! Thanks for sharing &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;</description>
    <pubDate>Tue, 29 Jan 2019 09:46:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-01-29T09:46:20Z</dc:date>
    <item>
      <title>Updating a DB2 Table which has AUTO INCREMENT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225230#M17621</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a DB2 table, which has been created with the option:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"E_SID" INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY ( START WITH 1 INCREMENT BY 1),&lt;/P&gt; 
&lt;P&gt;PRIMARY KEY (E_SID)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now I want to update some field by using tMap. Since it's an update I need to define the key field in the target table. The problem is when I do that, I get an error from the DB2 database saying, that the target field can not be written manually, since it has been declared with auto increment. If I would remove the this field, the update cannot be made, because of the missing key field. Do I have to remove the auto increment from the table to be able to do an update?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talendupdate.JPG" style="width: 835px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPeQ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144412iA36E69CCB6A398EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPeQ.jpg" alt="0683p000009MPeQ.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225230#M17621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T09:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a DB2 Table which has AUTO INCREMENT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225231#M17622</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;did you try in advanced settings of output component, select use field option and uncheck updatable, like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-01-29 at 10.34.23 PM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Da.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155200i63E5E8356FDD2051/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Da.png" alt="0683p000009M2Da.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225231#M17622</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-01-29T09:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a DB2 Table which has AUTO INCREMENT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225232#M17623</link>
      <description>&lt;P&gt;Thanks for the advice &lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I was not aware of this option. But in this case I had another problem in another output component. I was just looking at the wrong place. If the update is set up as in my example, it now works as designed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225232#M17623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T09:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a DB2 Table which has AUTO INCREMENT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225233#M17624</link>
      <description>&lt;P&gt;ok,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;this settings independent for each component (and for insert/update), so must be no collisions, but if it work is good &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225233#M17624</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-01-29T09:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a DB2 Table which has AUTO INCREMENT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225234#M17625</link>
      <description>Yes, you are absolutely right! Thanks for sharing &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Updating-a-DB2-Table-which-has-AUTO-INCREMENT/m-p/2225234#M17625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T09:46:20Z</dc:date>
    </item>
  </channel>
</rss>

