<?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: Manage MSSQL Identity field with tCreateTable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Manage-MSSQL-Identity-field-with-tCreateTable/m-p/2326997#M96415</link>
    <description>You would have to specify the precision too for INT IDENTITY. Just mention Length = 1 &amp;amp; Precision = 1 which would be Seed &amp;amp; Increment respectively.&lt;BR /&gt;Also, you have mentioned db type variables as NCHAR but Talend type as Integer. You need to change them too.</description>
    <pubDate>Fri, 29 Jun 2018 17:45:52 GMT</pubDate>
    <dc:creator>iamabhishek</dc:creator>
    <dc:date>2018-06-29T17:45:52Z</dc:date>
    <item>
      <title>Manage MSSQL Identity field with tCreateTable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manage-MSSQL-Identity-field-with-tCreateTable/m-p/2326996#M96414</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I'm trying to make a INT identity field with autoincrement but I get this error :&lt;/P&gt; 
&lt;PRE&gt;Exception in component tCreateTable_1 (File_rotate)
java.lang.RuntimeException: Creating table failed
	at swiss_project.file_rotate_0_1.File_rotate.tCreateTable_1Process(File_rotate.java:1215)
	at swiss_project.file_rotate_0_1.File_rotate.tFileInputXML_1Process(File_rotate.java:14346)
	at swiss_project.file_rotate_0_1.File_rotate.tFileList_1Process(File_rotate.java:15702)
	at swiss_project.file_rotate_0_1.File_rotate.runJobInTOS(File_rotate.java:19262)
	at swiss_project.file_rotate_0_1.File_rotate.main(File_rotate.java:18988)
Caused by: java.sql.SQLException: Identity column 'AST00' contains invalid INCREMENT.
	at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)
	at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)
	at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)
	at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671)
	at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:613)
	at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:572)
	at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:809)
	at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1282)
	at swiss_project.file_rotate_0_1.File_rotate.tCreateTable_1Process(File_rotate.java:1203)
	... 4 more&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend_create_table.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lytk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139972i20299BCB89BBE169/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lytk.png" alt="0683p000009Lytk.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;Thanks in advance&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:01:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manage-MSSQL-Identity-field-with-tCreateTable/m-p/2326996#M96414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Manage MSSQL Identity field with tCreateTable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manage-MSSQL-Identity-field-with-tCreateTable/m-p/2326997#M96415</link>
      <description>You would have to specify the precision too for INT IDENTITY. Just mention Length = 1 &amp;amp; Precision = 1 which would be Seed &amp;amp; Increment respectively.&lt;BR /&gt;Also, you have mentioned db type variables as NCHAR but Talend type as Integer. You need to change them too.</description>
      <pubDate>Fri, 29 Jun 2018 17:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manage-MSSQL-Identity-field-with-tCreateTable/m-p/2326997#M96415</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-06-29T17:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Manage MSSQL Identity field with tCreateTable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manage-MSSQL-Identity-field-with-tCreateTable/m-p/2326998#M96416</link>
      <description>Not logic at all but it work. Thanks !</description>
      <pubDate>Mon, 16 Jul 2018 14:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manage-MSSQL-Identity-field-with-tCreateTable/m-p/2326998#M96416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-16T14:37:54Z</dc:date>
    </item>
  </channel>
</rss>

