<?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: Connection to SQL Server - How to prevent leading space removal in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Connection-to-SQL-Server-How-to-prevent-leading-space-removal/m-p/2455540#M13699</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Check out this article:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Trailing-and-succeeding-blank-spaces-are-removed-from-data/ta-p/1711451" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Official-Support-Articles/Trailing-and-succeeding-blank-spaces-are-removed-from-data/ta-p/1711451&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the article only Qlik View is mentioned, but is works for Qlik Sense as well. Check both String values with the LEN-function.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Boris&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 07:11:46 GMT</pubDate>
    <dc:creator>bdouden</dc:creator>
    <dc:date>2024-05-23T07:11:46Z</dc:date>
    <item>
      <title>Connection to SQL Server - How to prevent leading space removal</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Connection-to-SQL-Server-How-to-prevent-leading-space-removal/m-p/1778137#M5740</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are using a SQL server. Some data contain leading spaces.&lt;/P&gt;&lt;P&gt;When I'm using the Microsoft SQL Server connector, or the ODBC connector, these leading spaces are removed. This is very annoying as we cannot distinguish data with leading spaces and data without leading space. For example, the article "&amp;nbsp; 351634" and the article "351634" are considered as being the same article, which is not true.&lt;/P&gt;&lt;P&gt;I don't see any option to prevent this behavior, neither in the app nor in the QMC.&lt;/P&gt;&lt;P&gt;We also tried various drivers, without success.&lt;/P&gt;&lt;P&gt;What could we try?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 15:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Connection-to-SQL-Server-How-to-prevent-leading-space-removal/m-p/1778137#M5740</guid>
      <dc:creator>FrederikV</dc:creator>
      <dc:date>2021-01-28T15:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to SQL Server - How to prevent leading space removal</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Connection-to-SQL-Server-How-to-prevent-leading-space-removal/m-p/2455540#M13699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Check out this article:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Trailing-and-succeeding-blank-spaces-are-removed-from-data/ta-p/1711451" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Official-Support-Articles/Trailing-and-succeeding-blank-spaces-are-removed-from-data/ta-p/1711451&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the article only Qlik View is mentioned, but is works for Qlik Sense as well. Check both String values with the LEN-function.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Boris&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 07:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Connection-to-SQL-Server-How-to-prevent-leading-space-removal/m-p/2455540#M13699</guid>
      <dc:creator>bdouden</dc:creator>
      <dc:date>2024-05-23T07:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to SQL Server - How to prevent leading space removal</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Connection-to-SQL-Server-How-to-prevent-leading-space-removal/m-p/2455689#M13701</link>
      <description>&lt;P&gt;What I've resorted to when trying to solve problems like these is to add a character in the sql select statement like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sql select
    "A"+ItemFieldname as "ItemFieldName"
from db.table;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 13:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Connection-to-SQL-Server-How-to-prevent-leading-space-removal/m-p/2455689#M13701</guid>
      <dc:creator>dennemanr</dc:creator>
      <dc:date>2024-05-23T13:28:21Z</dc:date>
    </item>
  </channel>
</rss>

