<?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: Oracle connection using ODBC - numbers converted to scientific notation in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2427216#M13455</link>
    <description>&lt;P&gt;In this example, I can load 15 digits but the first renders in scientific notation, the 2nd renders in number format. See if you can solve your problem using the 2nd expression in a preceding LOAD statement&lt;/P&gt;
&lt;P&gt;LOAD &lt;BR /&gt;Evaluate(Num1) as Num1,&lt;BR /&gt;Num(evaluate(Num2),'###,###,###,###,##0') as Num2&lt;BR /&gt;&lt;BR /&gt;INLINE [&lt;BR /&gt;Num1,Num2&lt;BR /&gt;123456789012345,123456789012345];&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 14:39:00 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2024-03-05T14:39:00Z</dc:date>
    <item>
      <title>Oracle connection using ODBC - numbers converted to scientific notation</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2427130#M13454</link>
      <description>&lt;P&gt;Hi, I have a problem with numbers automatically converted to scientific notation. I know that Qlik Sense has a limit of 15 digits. My problem is:&lt;/P&gt;
&lt;P&gt;14 digit number is displayed properly&lt;/P&gt;
&lt;P&gt;15 digit number is converted to scientific notation&lt;/P&gt;
&lt;P&gt;number with decimal places is also converted to scientific (instead of 0.000007 we have 7e-06)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bartoszmusial_0-1709642543060.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161315iFD91FF7736B48041/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bartoszmusial_0-1709642543060.png" alt="bartoszmusial_0-1709642543060.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is it a bug with ODBC connector? (our version is &lt;SPAN&gt;Version: 7.34.0&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bartoszmusial_1-1709642669673.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161316iEE0A79BC338DE12C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bartoszmusial_1-1709642669673.png" alt="bartoszmusial_1-1709642669673.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;OLE DB connector works as expected and displays all those numbers in regular number format, but it's 3 times slower in our case. NLS_LANG for OLE DB driver is set as POLISH_POLAND.AL32UTF8 (commas separates decimal digits)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bartoszmusial_2-1709642776121.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161317i95158D7394ADDC0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bartoszmusial_2-1709642776121.png" alt="bartoszmusial_2-1709642776121.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 12:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2427130#M13454</guid>
      <dc:creator>bartoszmusial</dc:creator>
      <dc:date>2024-03-05T12:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle connection using ODBC - numbers converted to scientific notation</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2427216#M13455</link>
      <description>&lt;P&gt;In this example, I can load 15 digits but the first renders in scientific notation, the 2nd renders in number format. See if you can solve your problem using the 2nd expression in a preceding LOAD statement&lt;/P&gt;
&lt;P&gt;LOAD &lt;BR /&gt;Evaluate(Num1) as Num1,&lt;BR /&gt;Num(evaluate(Num2),'###,###,###,###,##0') as Num2&lt;BR /&gt;&lt;BR /&gt;INLINE [&lt;BR /&gt;Num1,Num2&lt;BR /&gt;123456789012345,123456789012345];&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 14:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2427216#M13455</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2024-03-05T14:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle connection using ODBC - numbers converted to scientific notation</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2443303#M13578</link>
      <description>&lt;P&gt;I run your sample code with additional digit:&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;Evaluate(Num1) as Num1,&lt;BR /&gt;Num(evaluate(Num2),'##############0') as Num2&lt;/P&gt;
&lt;P&gt;INLINE [&lt;BR /&gt;Num1,Num2&lt;BR /&gt;1234567890123456,1234567890123456];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Effect is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bartoszmusial_0-1713710490628.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164430i7EC02B5FDF9156B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bartoszmusial_0-1713710490628.png" alt="bartoszmusial_0-1713710490628.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please check what effect do you have when you run:&lt;/P&gt;
&lt;P&gt;load *;&lt;BR /&gt;sql SELECT&lt;BR /&gt;12345678901234 digits_14 &lt;BR /&gt;,123456789012345 digits_15&lt;BR /&gt;,0.000007 digits_decimal_6&lt;BR /&gt;FROM&lt;BR /&gt;dual;&lt;/P&gt;
&lt;P&gt;I have:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bartoszmusial_1-1713710620401.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164431i04D67ABFFBA5D3D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bartoszmusial_1-1713710620401.png" alt="bartoszmusial_1-1713710620401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When i run:&lt;/P&gt;
&lt;P&gt;load &lt;BR /&gt;Evaluate(DIGITS_14) as DIGITS_14,&lt;BR /&gt;Evaluate(DIGITS_15) as DIGITS_15,&lt;BR /&gt;Evaluate(DIGITS_DECIMAL_6) as DIGITS_DECIMAL_6&lt;BR /&gt;;&lt;BR /&gt;sql SELECT&lt;BR /&gt;12345678901234 DIGITS_14 &lt;BR /&gt;,123456789012345 DIGITS_15&lt;BR /&gt;,0.000007 DIGITS_DECIMAL_6&lt;BR /&gt;FROM&lt;BR /&gt;dual;&lt;/P&gt;
&lt;P&gt;Effect is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bartoszmusial_2-1713710797385.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164432iA24B0A95F2F9F8B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bartoszmusial_2-1713710797385.png" alt="bartoszmusial_2-1713710797385.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 14:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2443303#M13578</guid>
      <dc:creator>bartoszmusial</dc:creator>
      <dc:date>2024-04-21T14:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle connection using ODBC - numbers converted to scientific notation</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2443425#M13580</link>
      <description>&lt;P&gt;A few hints to the limitation of 15 digits. It relates to all and not only the decimal ones - means &lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;0.&lt;/STRONG&gt;&lt;/FONT&gt;000007&lt;/SPAN&gt; are 7 digits and not 6.&lt;/P&gt;
&lt;P&gt;Further 15 digits could be stored as a numerical value but not or only restricted processed as a number. In my experience you could use them in mapping/joining or within an exists() but calculating/formatting them will mostly lead to NULL.&lt;/P&gt;
&lt;P&gt;You may avoid the num() and evaluate() approaches by pre-loading your wanted interpretation, like:&lt;/P&gt;
&lt;P&gt;Dummy: load 123456789012345 as MyFieldName autogenerate 1;&lt;/P&gt;
&lt;P&gt;sql select&amp;nbsp;MyFieldName from X;&lt;/P&gt;
&lt;P&gt;drop tables Dummy;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 09:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Oracle-connection-using-ODBC-numbers-converted-to-scientific/m-p/2443425#M13580</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-04-22T09:41:21Z</dc:date>
    </item>
  </channel>
</rss>

