<?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: automatically convert Numeric Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/automatically-convert-Numeric-Field/m-p/261519#M707839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Text() function to keep those leading and trailing zeroes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Text(Code) AS Code;&lt;/P&gt;&lt;P&gt;SQL SELECT Code &lt;/P&gt;&lt;P&gt;FROM Table;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LOAD part is executed in QlikView and their functions have nothing to do with SQL, so if the driver returns the right data, the above will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2011 18:39:27 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-11-28T18:39:27Z</dc:date>
    <item>
      <title>automatically convert Numeric Field</title>
      <link>https://community.qlik.com/t5/QlikView/automatically-convert-Numeric-Field/m-p/261518#M707838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;buonasera, Vorrei sapere come posso evitare che un istruzione SQL SELCT converta in automatico un campo alfanumerico esemoio 01, 001, 1, in unuco valore numerico&amp;nbsp; 1 o 01 o 001....&lt;/P&gt;&lt;P&gt;non&amp;nbsp; posso usare un load prima del sql, cerco un settaggio &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grazie &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Good evening&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I would like&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to know&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;how can I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;prevent a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;SQL statement&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;SELCT&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;automatically&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;convert&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an alphanumeric field&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;esemoio&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;01&lt;/SPAN&gt;&lt;SPAN&gt;, 001&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;1,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;UNUCI&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;numerical value 1&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;or 01&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;or 001&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;....&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;I can not use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a load&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;before the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sql&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I look for a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;setting&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 18:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/automatically-convert-Numeric-Field/m-p/261518#M707838</guid>
      <dc:creator />
      <dc:date>2011-11-28T18:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: automatically convert Numeric Field</title>
      <link>https://community.qlik.com/t5/QlikView/automatically-convert-Numeric-Field/m-p/261519#M707839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Text() function to keep those leading and trailing zeroes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Text(Code) AS Code;&lt;/P&gt;&lt;P&gt;SQL SELECT Code &lt;/P&gt;&lt;P&gt;FROM Table;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LOAD part is executed in QlikView and their functions have nothing to do with SQL, so if the driver returns the right data, the above will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 18:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/automatically-convert-Numeric-Field/m-p/261519#M707839</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-28T18:39:27Z</dc:date>
    </item>
  </channel>
</rss>

