<?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: Load from sql server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-from-sql-server/m-p/497040#M686476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to load it as text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;text(CODE) as CODE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TXT;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;CODE,&lt;/P&gt;&lt;P&gt;TXT&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2013 18:34:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-17T18:34:49Z</dc:date>
    <item>
      <title>Load from sql server</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-sql-server/m-p/497039#M686475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; I'm loading some data from a sql server database &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;CODE &lt;STRONG&gt;001&lt;/STRONG&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; description (TXT) Acquisto su ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;CODE &lt;STRONG&gt;01&lt;/STRONG&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; description (TXT) Vendita normale&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;IMG __jive_id="50570" alt="qv from sql server 1.jpg" class="jive-image" src="/legacyfs/online/50570_qv from sql server 1.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Same data loaded with same query in qlikview (image below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DLVREASON:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select CODE, TXT&lt;/P&gt;&lt;P&gt;from dlvreason where code &amp;lt; '20'&lt;/P&gt;&lt;P&gt;and dataareaid='els6' order by 1;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and I have the same 001 CODE with two different description&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Code &lt;STRONG&gt;001&lt;/STRONG&gt;, description (TXT) Acquisto su ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Code &lt;STRONG&gt;001&lt;/STRONG&gt;, description Vendita normale&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;has anyone encountered the same problem? solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG __jive_id="50571" alt="qv from sql server 2.jpg" class="jive-image" src="/legacyfs/online/50571_qv from sql server 2.jpg" style="width: 620px; height: 376px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 18:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-sql-server/m-p/497039#M686475</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2013-12-17T18:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Load from sql server</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-sql-server/m-p/497040#M686476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to load it as text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;text(CODE) as CODE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TXT;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;CODE,&lt;/P&gt;&lt;P&gt;TXT&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 18:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-sql-server/m-p/497040#M686476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-17T18:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load from sql server</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-sql-server/m-p/497041#M686477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview interprets your codes as numbers with a display format. The first 001 is interpreted as 1 with display format 001. The next value 01 is also interpreted as 1 and gets the same display format as the first 1 because a number can have only one display format. And so on for 002-02, 003-03 etc. The solution is to use the text() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DLVREASON:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&amp;nbsp; text(CODE),TXT&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;select CODE, TXT&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from dlvreason where code &amp;lt; '20'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and dataareaid='els6' order by 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 18:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-sql-server/m-p/497041#M686477</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-17T18:38:44Z</dc:date>
    </item>
  </channel>
</rss>

