<?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: tOracleSP ORA-01858: a non-numeric character was found where a numer in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339587#M107713</link>
    <description>It would be great to see the source code of your stored procedure.
&lt;BR /&gt;I guess the problem is inside the stored procedure because the Oracle error message points to a line number inside the procedure.
&lt;BR /&gt;A typical situation to tapp into this trap is the union or a join. If some conditions returns values and your test case does not meet these conditions it is possible to get different types from different sources. A very good example is a product number or a customer number which are often stored as varchar2 or as numeric (the same value with different types in different tables).</description>
    <pubDate>Mon, 19 May 2014 13:32:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-19T13:32:05Z</dc:date>
    <item>
      <title>tOracleSP ORA-01858: a non-numeric character was found where a numer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339586#M107712</link>
      <description>Oracle 11g 
&lt;BR /&gt; Talend Version: 5.4.1 
&lt;BR /&gt; Build id: r111943 
&lt;BR /&gt; 
&lt;BR /&gt; tOracleSP_2 component calling store procedure from package rdm : rdm.p_dm_load_talend 
&lt;BR /&gt; get error 
&lt;BR /&gt; ORA-01858: a non-numeric character was found where a numeric was expected 
&lt;BR /&gt;Form Oracle (Pl-sql developer) 
&lt;BR /&gt;Declare 
&lt;BR /&gt;Begin 
&lt;BR /&gt; rdm.p_dm_load_talend; 
&lt;BR /&gt;End; 
&lt;BR /&gt;works OK 
&lt;BR /&gt;Previosly I called other Oracle SP OK. 
&lt;BR /&gt;Here Full error messge : 
&lt;BR /&gt;Exception in component tOracleSP_2 
&lt;BR /&gt;java.sql.SQLDataException: ORA-01858: a non-numeric character was found where a numeric was expected 
&lt;BR /&gt;ORA-06512: at "TLRRDM.RDM", line 63 
&lt;BR /&gt;ORA-06512: at line 1 
&lt;BR /&gt; 
&lt;BR /&gt; at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79) 
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112) 
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173) 
&lt;BR /&gt; at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) 
&lt;BR /&gt; at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) 
&lt;BR /&gt; at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030) 
&lt;BR /&gt; at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191) 
&lt;BR /&gt; at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:944) 
&lt;BR /&gt; at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222) 
&lt;BR /&gt; at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381) 
&lt;BR /&gt; at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3482) 
&lt;BR /&gt;.-------------------+------+--------+----------+-------+-------+-------+--------+--------------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+----. 
&lt;BR /&gt;| tLogRow_1 | 
&lt;BR /&gt;|=------------------+------+--------+----------+-------+-------+-------+--------+--------------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+---=| 
&lt;BR /&gt;|moment |pid |root_pid|father_pid|project|job |context|priority|type |origin |message |code| 
&lt;BR /&gt; at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3856) 
&lt;BR /&gt; at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1373) 
&lt;BR /&gt; at tlr.dm_load_0_1.DM_load.tOracleInput_2Process(DM_load.java:2638) 
&lt;BR /&gt; at tlr.dm_load_0_1.DM_load.tOracleInput_1Process(DM_load.java:1837) 
&lt;BR /&gt; at tlr.dm_load_0_1.DM_load.tOracleConnection_2Process(DM_load.java:1267) 
&lt;BR /&gt; at tlr.dm_load_0_1.DM_load.tChronometerStart_1Process(DM_load.java:1113) 
&lt;BR /&gt; at tlr.dm_load_0_1.DM_load.tJava_2Process(DM_load.java:3436) 
&lt;BR /&gt; at tlr.dm_load_0_1.DM_load.runJobInTOS(DM_load.java:7360) 
&lt;BR /&gt; at tlr.dm_load_0_1.DM_load.main(DM_load.java:7102) 
&lt;BR /&gt;|=------------------+------+--------+----------+-------+-------+-------+--------+--------------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+---=| 
&lt;BR /&gt;|2014-05-19 14:58:04|e8FdUM|e8FdUM |e8FdUM |TLR |DM_load|PROD |6 |Java Exception|tOracleSP_2|java.sql.SQLDataException 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;RA-01858: a non-numeric character was found where a numeric was expected 
&lt;BR /&gt;ORA-06512: at "TLRRDM.RDM", line 63 
&lt;BR /&gt;ORA-06512: at line 1 
&lt;BR /&gt;|1 | 
&lt;BR /&gt;'-------------------+------+--------+----------+-------+-------+-------+--------+--------------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+----' 
&lt;BR /&gt;Picture attached 
&lt;BR /&gt;I tried - change settings of ToracleSP ( and connection) and package re-compling 
&lt;BR /&gt;Any ideas welcome - both from Talend (or even Oracle side) 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Mon, 19 May 2014 13:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339586#M107712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-19T13:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleSP ORA-01858: a non-numeric character was found where a numer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339587#M107713</link>
      <description>It would be great to see the source code of your stored procedure.
&lt;BR /&gt;I guess the problem is inside the stored procedure because the Oracle error message points to a line number inside the procedure.
&lt;BR /&gt;A typical situation to tapp into this trap is the union or a join. If some conditions returns values and your test case does not meet these conditions it is possible to get different types from different sources. A very good example is a product number or a customer number which are often stored as varchar2 or as numeric (the same value with different types in different tables).</description>
      <pubDate>Mon, 19 May 2014 13:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339587#M107713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-19T13:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleSP ORA-01858: a non-numeric character was found where a numer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339588#M107714</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;It would be great to see the source code of your stored procedure.&lt;BR /&gt;I guess the problem is inside the stored procedure because the Oracle error message points to a line number inside the procedure.&lt;BR /&gt;A typical situation to tapp into this trap is the union or a join. If some conditions returns values and your test case does not meet these conditions it is possible to get different types from different sources. A very good example is a product number or a customer number which are often stored as varchar2 or as numeric (the same value with different types in different tables).&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Thanks you are rgiht - problem was oin Oracle package (not in Talend)
&lt;BR /&gt;Constant in package
&lt;BR /&gt;GL_PACKAGE_DATE CONSTANT DATE := TO_DATE('19-O5-2014', 'DD-MM-YYYY');
&lt;BR /&gt;contained O instead of 0
&lt;BR /&gt;in sql-developer it work from 2-nd time 
&lt;BR /&gt;because this constant was not used in called procedure.
&lt;BR /&gt;But 1-st time it generated Error : ORA-01858
&lt;BR /&gt;Question is resolved</description>
      <pubDate>Tue, 20 May 2014 12:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339588#M107714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-20T12:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleSP ORA-01858: a non-numeric character was found where a numer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339589#M107715</link>
      <description>Hello,
&lt;BR /&gt;I'm using Talend Open Studio 6.0. 
&lt;BR /&gt;I'm pulling a value of DATETIME format from Mysql table using tMysqlInput component. Further, I'm assigning that value to a context variable using tJavaRow component. After OnComponentOK trigger from tJavaRow component, I pull out values from tOracleInput which are greater than the value I just assigned to the context variable.
&lt;BR /&gt;When the execution reaches tOracleInput, it is throwing an error-
&lt;BR /&gt;
&lt;BR /&gt; connecting to socket on port 3997
&lt;BR /&gt; connected
&lt;BR /&gt;Exception in component tOracleInput_3
&lt;BR /&gt;java.sql.SQLException: ORA-01858: a non-numeric character was found where a numeric was expected
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:1231)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2616)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:653)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sd.exe4_0_1.Exe4.tOracleInput_3Process(Exe4.java:2473)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sd.exe4_0_1.Exe4.tMysqlInput_1Process(Exe4.java:793)
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sd.exe4_0_1.Exe4$2.run(Exe4.java:4810)
&lt;BR /&gt; disconnected
&lt;BR /&gt;Please let us know if this can be solved anyway or if I am missing something out.</description>
      <pubDate>Tue, 27 Oct 2015 14:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleSP-ORA-01858-a-non-numeric-character-was-found-where-a/m-p/2339589#M107715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T14:13:58Z</dc:date>
    </item>
  </channel>
</rss>

