<?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 Equvalent data type for nvarchar in tDBOutput for DB2 database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365284#M128906</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am reading file input and insert into DB2 database table. One scenario i got input is lie below and received error in talend job tDBOutput component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC: null&lt;/P&gt;&lt;P&gt;[ERROR]: Project.X_l_subjob_0_1.X_L_Subjob - tDBOutput_1 - DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC: null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB2 table column datatype - char(20)&lt;/P&gt;&lt;P&gt;Input Type - String&lt;/P&gt;&lt;P&gt;tDBOutput - Type - String , DB Type - varchar&lt;/P&gt;&lt;P&gt;File input value -  00625ä¸€1020504äºº0325&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 11:16:43 GMT</pubDate>
    <dc:creator>ganeshK</dc:creator>
    <dc:date>2021-09-07T11:16:43Z</dc:date>
    <item>
      <title>Equvalent data type for nvarchar in tDBOutput for DB2 database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365284#M128906</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am reading file input and insert into DB2 database table. One scenario i got input is lie below and received error in talend job tDBOutput component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC: null&lt;/P&gt;&lt;P&gt;[ERROR]: Project.X_l_subjob_0_1.X_L_Subjob - tDBOutput_1 - DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC: null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB2 table column datatype - char(20)&lt;/P&gt;&lt;P&gt;Input Type - String&lt;/P&gt;&lt;P&gt;tDBOutput - Type - String , DB Type - varchar&lt;/P&gt;&lt;P&gt;File input value -  00625ä¸€1020504äºº0325&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 11:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365284#M128906</guid>
      <dc:creator>ganeshK</dc:creator>
      <dc:date>2021-09-07T11:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Equvalent data type for nvarchar in tDBOutput for DB2 database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365285#M128907</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi @not specified not specified​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;your target DB2 columns is a CHAR(20)&lt;/LI&gt;&lt;LI&gt;your input string has 23 characters&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;trim your string, or increase the size of column&lt;/P&gt;&lt;P&gt;another point to have in mind:  values in a DB2 char() will be PADDED with spaces to the full length, if they are shorter than 20 chars in length&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 11:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365285#M128907</guid>
      <dc:creator>XJ_1630</dc:creator>
      <dc:date>2021-09-07T11:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Equvalent data type for nvarchar in tDBOutput for DB2 database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365286#M128908</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am already doing Stringhandling.left(InputValue,20)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Main problem is the special characters in input value, looks some messy values. It is not working with varchar in tDBOutput component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;tDBOutput - Type - String , DB Type - varchar&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;File input value - 00625ä¸€1020504äºº0325&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tLogRow output after trim -&amp;gt; 00625Ã€ÂžÂ€1020504Ã€&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 04:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365286#M128908</guid>
      <dc:creator>ganeshK</dc:creator>
      <dc:date>2021-09-08T04:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Equvalent data type for nvarchar in tDBOutput for DB2 database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365287#M128909</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;What encoding do you use to read the value from input file? By default, it is 'ISO-8859-15', have a try to change it to UTF-8 or other type that matches the string encoding. This properties is located in the advanced settings panel of tFileInputXXX component. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 06:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Equvalent-data-type-for-nvarchar-in-tDBOutput-for-DB2-database/m-p/2365287#M128909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-08T06:50:02Z</dc:date>
    </item>
  </channel>
</rss>

