<?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 AW:SQL error: ORA-01858 when loading View in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235623#M86876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jennifer,&lt;/P&gt;&lt;P&gt;as Dinesh mentioned above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Jennifer Rodriguez wrote:SQL error: ORA-01858: a non-numeric character was foundwhere a numeric was expected . . .&lt;BR /&gt;I don't think this is a QV issue, but they insist it is.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This is obviously and definitely an oracle error! Tell this your oracle-"experts" at home.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Jennifer Rodriguez wrote:The view runs fine with a SELECT * FROM SYSADM.PS_W_CRSE_HRS_VW in SQL Plus and SQL developer,&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It seems that SQL*Plus and SQL-Developer run in another oracle-enviroment than Qlikview-ODBC does. I suspect that the Oracle NLS-Parameters of these are different. So check this out or let check this out. NLS means National Language Support and includes a lot of default formats like for currency and dates(!!). These default formats are used in SQL when formating numbers, dates, currencies. And they can be changed in at least three ways: for the whole database, for one instance of a database, or for one particular session (connect).&lt;/P&gt;&lt;P&gt;To help You to help your oracle guys, play with the following code (may be, you do not have all rights to access all tables, but it is worth a try):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;ODBC CONNECT TO dwh_lokal (XUserId is KUXYISdOIbXYWXNNBDbSC, XPassword is aQONBSdOILLA);&lt;BR /&gt;&lt;BR /&gt;// some testing, try to produce some errors&lt;BR /&gt;SELECT to_date('21-JAN-2011', 'DD-MM-YYYY') AS myVal&lt;BR /&gt;from dual;&lt;BR /&gt;SELECT to_number('abc') AS myVal&lt;BR /&gt;from dual;&lt;BR /&gt;SELECT to_number('123') AS myVal&lt;BR /&gt;from dual; // at least this should work&lt;BR /&gt;&lt;BR /&gt;//what are your personal date-formats in Oracle(!) ?&lt;BR /&gt;SELECT * FROM nls_session_parameters WHERE parameter Like '%DATE%';&lt;BR /&gt;SELECT * FROM nls_instance_parameters WHERE parameter Like '%DATE%';&lt;BR /&gt;SELECT * FROM nls_database_parameters WHERE parameter Like '%DATE%';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;See what parameters you recieved in &lt;I&gt;nls_session_parameters&lt;/I&gt; and what is in &lt;I&gt;dual.myVal.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;HTH, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2011 21:53:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-29T21:53:49Z</dc:date>
    <item>
      <title>SQL error: ORA-01858 when loading View</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235621#M86874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a custom view to my script this morning and upon reload, I am receiving the following error message:&lt;/P&gt;&lt;P&gt;SQL error: ORA-01858: a non-numeric character was found where a numeric was expected&lt;/P&gt;&lt;P&gt;Script line: SELECT * FROM SYSADM."PS_W_CRSE_HRS_VW"&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM SYSADM."PS_W_CRSE_HRS_VW"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;The Script is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"LM_CI_ID",&lt;/P&gt;&lt;P&gt;"LM_DMTHD_ID",&lt;/P&gt;&lt;P&gt;"LM_DURN_HRS";&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM SYSADM.PS_W_CRSE_HRS_VW;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The view contains 3 fields, all of which are numeric (no dates). I have tried using SELECT on each individual field and receive the message on each reload, no matter what field is selected. The view runs fine with a SELECT * FROM SYSADM.PS_W_CRSE_HRS_VW in SQL Plus and SQL developer, so my PeopleSoft team is telling me this is an error on the QlikView side. Any tips/advice? I don't think this is a QV issue, but they insist it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 18:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235621#M86874</guid>
      <dc:creator />
      <dc:date>2011-04-29T18:56:13Z</dc:date>
    </item>
    <item>
      <title>SQL error: ORA-01858 when loading View</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235622#M86875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView would not generate an ORA- error. This error is generated by Oracle even before QlikView had a chance to receive the data and execute the LOAD statement.&lt;/P&gt;&lt;P&gt;Would it be possible to review the SQL behind the VIEW and see if there is any formatting code in the VIEW? Would it also be possible to go directly against the base table instead of the VIEW?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 19:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235622#M86875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-29T19:10:27Z</dc:date>
    </item>
    <item>
      <title>AW:SQL error: ORA-01858 when loading View</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235623#M86876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jennifer,&lt;/P&gt;&lt;P&gt;as Dinesh mentioned above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Jennifer Rodriguez wrote:SQL error: ORA-01858: a non-numeric character was foundwhere a numeric was expected . . .&lt;BR /&gt;I don't think this is a QV issue, but they insist it is.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This is obviously and definitely an oracle error! Tell this your oracle-"experts" at home.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Jennifer Rodriguez wrote:The view runs fine with a SELECT * FROM SYSADM.PS_W_CRSE_HRS_VW in SQL Plus and SQL developer,&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It seems that SQL*Plus and SQL-Developer run in another oracle-enviroment than Qlikview-ODBC does. I suspect that the Oracle NLS-Parameters of these are different. So check this out or let check this out. NLS means National Language Support and includes a lot of default formats like for currency and dates(!!). These default formats are used in SQL when formating numbers, dates, currencies. And they can be changed in at least three ways: for the whole database, for one instance of a database, or for one particular session (connect).&lt;/P&gt;&lt;P&gt;To help You to help your oracle guys, play with the following code (may be, you do not have all rights to access all tables, but it is worth a try):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;ODBC CONNECT TO dwh_lokal (XUserId is KUXYISdOIbXYWXNNBDbSC, XPassword is aQONBSdOILLA);&lt;BR /&gt;&lt;BR /&gt;// some testing, try to produce some errors&lt;BR /&gt;SELECT to_date('21-JAN-2011', 'DD-MM-YYYY') AS myVal&lt;BR /&gt;from dual;&lt;BR /&gt;SELECT to_number('abc') AS myVal&lt;BR /&gt;from dual;&lt;BR /&gt;SELECT to_number('123') AS myVal&lt;BR /&gt;from dual; // at least this should work&lt;BR /&gt;&lt;BR /&gt;//what are your personal date-formats in Oracle(!) ?&lt;BR /&gt;SELECT * FROM nls_session_parameters WHERE parameter Like '%DATE%';&lt;BR /&gt;SELECT * FROM nls_instance_parameters WHERE parameter Like '%DATE%';&lt;BR /&gt;SELECT * FROM nls_database_parameters WHERE parameter Like '%DATE%';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;See what parameters you recieved in &lt;I&gt;nls_session_parameters&lt;/I&gt; and what is in &lt;I&gt;dual.myVal.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;HTH, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 21:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235623#M86876</guid>
      <dc:creator />
      <dc:date>2011-04-29T21:53:49Z</dc:date>
    </item>
    <item>
      <title>AW:SQL error: ORA-01858 when loading View</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235624#M86877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Jennifer,&lt;/P&gt;&lt;P&gt;Did you ever figure this one out? I too am having the same issue with this load from Oracle.&amp;nbsp; ErrorSources: OraOLEDB, ErrorMsg: ORA-01858: a non-numeric character was found where a numeric was expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated! PLEASE!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 16:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-error-ORA-01858-when-loading-View/m-p/235624#M86877</guid>
      <dc:creator />
      <dc:date>2011-11-10T16:38:33Z</dc:date>
    </item>
  </channel>
</rss>

