<?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: Data Truncation error message does not tell which column raised it in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213879#M10964</link>
    <description>It's not possible.  Even SQL Server Management Studio does not tell you which column is the problem when you insert data.</description>
    <pubDate>Mon, 10 Sep 2012 03:09:52 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2012-09-10T03:09:52Z</dc:date>
    <item>
      <title>Data Truncation error message does not tell which column raised it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213877#M10962</link>
      <description>I have a delimited text file with about 20 columns and I have to load the data into a table in MSSQL. I configured a reject flow out of the MSSQL Output component into another text file to manage the records that have data issues. When i run this job it outputs a few reject rows and the error message from the reject flow just says "Data Truncation - Line 34256". It does not tell me which column in line 34256 raised this error. Is there a way too get more information about the data truncation? I tried to find similar issues on the forum but did not get an answer.</description>
      <pubDate>Wed, 05 Sep 2012 14:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213877#M10962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T14:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data Truncation error message does not tell which column raised it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213878#M10963</link>
      <description>Hi&lt;BR /&gt;The error message shows the length of inserted data exceeds the max length of field defined in table. To debug the error, check the 'die on error' option on tmssqloutput, the job will throw the error and die.</description>
      <pubDate>Wed, 05 Sep 2012 14:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213878#M10963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T14:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Truncation error message does not tell which column raised it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213879#M10964</link>
      <description>It's not possible.  Even SQL Server Management Studio does not tell you which column is the problem when you insert data.</description>
      <pubDate>Mon, 10 Sep 2012 03:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213879#M10964</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-09-10T03:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data Truncation error message does not tell which column raised it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213880#M10965</link>
      <description>Hi,
&lt;BR /&gt;To debug the issue you can do following.
&lt;BR /&gt;1) Create a similer table as your output table, using some syntex like 
&lt;B&gt;create table new_table as select * from old_table where 1=0&lt;/B&gt;
&lt;BR /&gt;2) Now point the mapping to populate this table.
&lt;BR /&gt;3) In t&amp;lt;DBOut&amp;gt; 
&lt;B&gt;Advanced settings&lt;/B&gt; set 
&lt;B&gt;Commit every&lt;/B&gt; as 
&lt;B&gt;1&lt;/B&gt;
&lt;BR /&gt;4) Run the job and after failure check the table's last row.
&lt;BR /&gt;5) Find that row in your source most probably the culprit is the next row to it. Otherwise you can check one row before, this row and next row.
&lt;BR /&gt;6) Hopefully you will get the erronous row.
&lt;BR /&gt;Alternatively you can check the column lengths also and filter them in some flat file. Check the column lengths as defined in the database.
&lt;BR /&gt;Once you find that column modify it to accomodate future requirements and remove filter if required from performance perspective.
&lt;BR /&gt;Hope that helps.
&lt;BR /&gt;--
&lt;BR /&gt;Regards,
&lt;BR /&gt;Vinod</description>
      <pubDate>Mon, 10 Sep 2012 14:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213880#M10965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-10T14:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data Truncation error message does not tell which column raised it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213881#M10966</link>
      <description>You can also add a tSchemaComplianceCheck before tMSSqlOutput with a reject flow.  That will tell you which column is the problem but you need to ensure the schema is identical to the table design.</description>
      <pubDate>Tue, 11 Sep 2012 02:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Truncation-error-message-does-not-tell-which-column-raised/m-p/2213881#M10966</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-09-11T02:19:56Z</dc:date>
    </item>
  </channel>
</rss>

