<?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: tMap with dynamic length in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334203#M102889</link>
    <description>&lt;P&gt;Thanks for the assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guess it was bad foundation when I didn't put much attention on data types. Have changed to VARCHAR and all is working fine! Thanks for the help, cheers!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 07:54:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-24T07:54:49Z</dc:date>
    <item>
      <title>tMap with dynamic length</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334200#M102886</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I am pretty new to using Talend as an ETL tool .&lt;BR /&gt;&lt;BR /&gt;I am performing ETL from Sybase db -&amp;gt; tMap -&amp;gt; dboutput to MSSQL.&lt;BR /&gt;&lt;BR /&gt;The problem I am facing is the schema for MSSQL. Say if I define the column to be of dtype string length 20, data mapped to this column will be forcefully created as a len 20 character, with unecessary white spaces .&lt;BR /&gt;&lt;BR /&gt;May I know what are the available options for me to perform my ETL and ouput to MSSQL without this constraint i.e. taking the string from the source data as it is.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2018 11:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334200#M102886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-20T11:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with dynamic length</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334201#M102887</link>
      <description>&lt;P&gt;You can not have dbtype as String for MSSQL, either you need to select VARCHAR or NVARCHAR.&lt;/P&gt; 
&lt;P&gt;The String datatype&amp;nbsp;could be from your source.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now, when we define any column in Sql Server to be of length NVARCHAR(20) but store data into them let's say of 8 characters there will be no unnecessary white spaces be present in the column when you select the data from the column.&lt;/P&gt; 
&lt;P&gt;Ex: as you could see I stored 8 char so the length says 8 but DATALENGTH will show 16 which depicts the actual size being utilized.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DataLength-1.JPG" style="width: 399px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzcR.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151282iD704C20397FD67AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzcR.jpg" alt="0683p000009LzcR.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you are seeing unnecessary white spaces in your destination side would recommend to TRIM the data (in tMap itself) and then perform the load.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 08:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334201#M102887</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-22T08:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with dynamic length</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334202#M102888</link>
      <description>Dont use CHAR, but NVARCHAR as db type</description>
      <pubDate>Wed, 22 Aug 2018 23:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334202#M102888</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-08-22T23:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with dynamic length</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334203#M102889</link>
      <description>&lt;P&gt;Thanks for the assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guess it was bad foundation when I didn't put much attention on data types. Have changed to VARCHAR and all is working fine! Thanks for the help, cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 07:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-dynamic-length/m-p/2334203#M102889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-24T07:54:49Z</dc:date>
    </item>
  </channel>
</rss>

