<?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 Table suspend with error  [Microsoft][ODBC Driver 17 for SQL Server]String data, right truncation (22001 nativeerror) in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Table-suspend-with-error-Microsoft-ODBC-Driver-17-for-SQL-Server/m-p/2061259#M5686</link>
    <description>&lt;P&gt;Table suspend with error with the follwoing error in LR task, with target as SQL Managed instance.&lt;/P&gt;
&lt;P&gt;could not see any issue /diiference in DDL on source and target.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RetCode: SQL_SUCCESS SqlState: 22001 NativeError: 0 Message: [Microsoft][ODBC Driver 17 for SQL Server]String data, right truncation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help to understand what causing the issue. On verbose could not fetch the exact column undergoing the truncation.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Apr 2023 23:24:58 GMT</pubDate>
    <dc:creator>Kohila</dc:creator>
    <dc:date>2023-04-17T23:24:58Z</dc:date>
    <item>
      <title>Table suspend with error  [Microsoft][ODBC Driver 17 for SQL Server]String data, right truncation (22001 nativeerror)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Table-suspend-with-error-Microsoft-ODBC-Driver-17-for-SQL-Server/m-p/2061259#M5686</link>
      <description>&lt;P&gt;Table suspend with error with the follwoing error in LR task, with target as SQL Managed instance.&lt;/P&gt;
&lt;P&gt;could not see any issue /diiference in DDL on source and target.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RetCode: SQL_SUCCESS SqlState: 22001 NativeError: 0 Message: [Microsoft][ODBC Driver 17 for SQL Server]String data, right truncation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help to understand what causing the issue. On verbose could not fetch the exact column undergoing the truncation.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 23:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Table-suspend-with-error-Microsoft-ODBC-Driver-17-for-SQL-Server/m-p/2061259#M5686</guid>
      <dc:creator>Kohila</dc:creator>
      <dc:date>2023-04-17T23:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table suspend with error  [Microsoft][ODBC Driver 17 for SQL Server]String data, right truncation (22001 nativeerror)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Table-suspend-with-error-Microsoft-ODBC-Driver-17-for-SQL-Server/m-p/2061271#M5687</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193387"&gt;@Kohila&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error message typically indicates that you are trying to insert or update data into a SQL Server table and the data you are trying to insert or update exceeds the maximum length of the column in the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Check the data types and lengths of the columns in the table you are trying to insert or update. Make sure that the data you are trying to insert or update matches the data type and length of the column. For example, if the column is of type &lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;varchar(10)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#FFFF00"&gt;,&lt;/FONT&gt; make sure that the data you are trying to insert or update is 10 characters or less.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Check the length of the data you are trying to insert or update. If the data is longer than the maximum length of the column, you will need to truncate the data before inserting or updating it. You can use functions like &lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;LEFT&lt;/FONT&gt; &lt;/STRONG&gt;or &lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;SUBSTRING&lt;/FONT&gt;&lt;/STRONG&gt; in your SQL statement to truncate the data.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Check the version of your ODBC driver. If it is an older version, try upgrading to the latest version to see if the issue is resolved.&lt;/LI&gt;
&lt;LI&gt;Verify do you have any special character in the incoming string&lt;BR /&gt;&lt;BR /&gt;If not resolve, kindly raise the support case along with enhanced logs, we will take care of it&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sachin B&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 18 Apr 2023 01:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Table-suspend-with-error-Microsoft-ODBC-Driver-17-for-SQL-Server/m-p/2061271#M5687</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2023-04-18T01:35:45Z</dc:date>
    </item>
  </channel>
</rss>

