<?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: Qlikview-SAP SQL Select Load statement issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-SAP-SQL-Select-Load-statement-issue/m-p/1638422#M733667</link>
    <description>&lt;P&gt;Kirti, I believe the correct solution on this one is to add Load statement in front of your SQL Select and use the Text() function on that field, that will ensure the leading zeros are maintained I believe.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So something like...&lt;/P&gt;
&lt;P&gt;ABC:&lt;/P&gt;
&lt;P&gt;Load Text(CUSTOMER) AS CUSTOMERTEXT...&lt;/P&gt;
&lt;P&gt;SQL Select *...&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2019 14:32:46 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-10-22T14:32:46Z</dc:date>
    <item>
      <title>Qlikview-SAP SQL Select Load statement issue</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-SAP-SQL-Select-Load-statement-issue/m-p/1635658#M733666</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using following query: It gives me weird result.&amp;nbsp; SQL load is not considering 'E' at the end of the customer string.&lt;/P&gt;&lt;P&gt;please help me find solution. I know this is happening because&amp;nbsp;0000037004 is getting loaded first and while loading&amp;nbsp;37004E, Qlikview considers it as same integer as previouly loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I load all records from customer table, I see 2 records as per below image.&lt;/P&gt;&lt;P&gt;ABC:&lt;BR /&gt;SQL Select&lt;BR /&gt;*&lt;BR /&gt;from CUSTOMER&lt;BR /&gt;Where CUSTOMER = '0000037004' or&lt;BR /&gt;CUSTOMER = '37004E'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21585iEC7359B5C2DD1AD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-SAP-SQL-Select-Load-statement-issue/m-p/1635658#M733666</guid>
      <dc:creator>Kirti007</dc:creator>
      <dc:date>2024-11-16T19:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview-SAP SQL Select Load statement issue</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-SAP-SQL-Select-Load-statement-issue/m-p/1638422#M733667</link>
      <description>&lt;P&gt;Kirti, I believe the correct solution on this one is to add Load statement in front of your SQL Select and use the Text() function on that field, that will ensure the leading zeros are maintained I believe.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So something like...&lt;/P&gt;
&lt;P&gt;ABC:&lt;/P&gt;
&lt;P&gt;Load Text(CUSTOMER) AS CUSTOMERTEXT...&lt;/P&gt;
&lt;P&gt;SQL Select *...&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 14:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-SAP-SQL-Select-Load-statement-issue/m-p/1638422#M733667</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-22T14:32:46Z</dc:date>
    </item>
  </channel>
</rss>

