<?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: Talend incorrect Data truncation error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-incorrect-Data-truncation-error/m-p/2270378#M48308</link>
    <description>&lt;P&gt;Can you post the whole error you get when running and send a screenshot of your job please?&lt;/P&gt;</description>
    <pubDate>Fri, 19 Oct 2018 14:27:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-19T14:27:10Z</dc:date>
    <item>
      <title>Talend incorrect Data truncation error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-incorrect-Data-truncation-error/m-p/2270377#M48307</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;I am creating a table in SQL server 2014 using Talend. Below is table&amp;nbsp;creation code&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Create table [dbo].[demo]
(
 Name varchar(50),
 Description varchar(max) -- data truncation issue for this column
 )
&lt;BR /&gt; insert into [dbo].[demo] (Name,Description)&lt;BR /&gt; values ('VJ','&amp;lt;characters more than 8000&amp;gt;')&lt;BR /&gt;&lt;BR /&gt;
&lt;/PRE&gt; 
&lt;P&gt;The table has been successfully created no problems here datatype it is what i want. But when I try to insert data from CSV into same above table it complains about data truncation. Since there are only 2 columns I could identify which column has characters more than 8000 it was Description column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But here's my doubt, when I say datatype of Description column is &lt;STRONG&gt;varchar(max)&amp;nbsp;&lt;/STRONG&gt;then why am I getting this error in Talend because when executed same code directly in SQL server it runs perfectly.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;I added reject flow so now there is no Data truncation error in the console&amp;nbsp;but still some rows are going in reject flow and I want all the rows in my table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Talend Data Fabric 6.3.1&lt;/P&gt; 
&lt;P&gt;Java 8&lt;/P&gt; 
&lt;P&gt;Sql server 201&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sample Job.jpg" style="width: 695px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/13294iCEC6ADF6A60942F0/image-size/large?v=1.0&amp;amp;px=999" title="Sample Job.jpg" alt="Sample Job.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 14:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-incorrect-Data-truncation-error/m-p/2270377#M48307</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-19T14:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Talend incorrect Data truncation error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-incorrect-Data-truncation-error/m-p/2270378#M48308</link>
      <description>&lt;P&gt;Can you post the whole error you get when running and send a screenshot of your job please?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 14:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-incorrect-Data-truncation-error/m-p/2270378#M48308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-19T14:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Talend incorrect Data truncation error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-incorrect-Data-truncation-error/m-p/2270379#M48309</link>
      <description>I have attached sample job design. Please note I have added rejects flow so now there is no Data truncation error but instead 406 rows are not inserted in my table. I want all the rows to be inserted without any truncation.</description>
      <pubDate>Fri, 19 Oct 2018 14:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-incorrect-Data-truncation-error/m-p/2270379#M48309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-19T14:58:34Z</dc:date>
    </item>
  </channel>
</rss>

