Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Query in 10g
The request for the explain plan with and without acum_mes has already been
made. In addition, please reveal whether you have function based indexes on
any of these columns.
See if you have null strings in any of these columns you are treating as numbers.
Finally, you might want to run a simple to_number individually on each character column you’re treating as a number to see if that helps you identify the bad value(s).
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]On
Behalf Of crcbedoy_at_proteccion.com.co
Sent: Wednesday, November 08, 2006 10:41 AM
To: Johan Eriksson
Cc: norman.dunbar_at_environment-agency.gov.uk; oracle-l_at_freelists.org;
oracle-l-bounce_at_freelists.org
Subject: Re: Query in 10g
The same error message:(:(.. It´s gonna make me crazy!:(:(
Isabel Bedoya Gómez
Gestión de Tecnología
Tel. 2307500 ext: 4077
Inactive hide details for "Johan Eriksson" <valpis_at_gmail.com>"Johan
Eriksson" <valpis_at_gmail.com>
"Johan Eriksson" <valpis_at_gmail.com>
08/11/2006 10:25
Para
crcbedoy_at_proteccion.com.co
cc
norman.dunbar_at_environment-agency.gov.uk, oracle-l_at_freelists.org, oracle-l-bounce_at_freelists.org
Asunto
Re: Query in 10g
and what if you omit the concatination part?
select ACUM_PERIODO,con_nombre, pec_saldo_valor, acum_valor_local from
VRH_PRO_ACU_COL_PAG
WHERE emp_codigo = '43103973' and ACUM_ANO = 2006 and acum_mes=9
/
still gives you error?
from the reference:
--- Cause: The attempted conversion of a character string to a number failed because the character string was not a valid numeric literal. Only numeric fields or character fields containing numeric data may be used in arithmetic functions or expressions. Only numeric fields may be added to or subtracted from dates. Action: Check the character strings in the function or expression. Check that they contain only numbers, a sign, a decimal point, and the characterReceived on Wed Nov 08 2006 - 09:42:17 CST
"E" or "e" and retry the operation.
----- Nothing that could apply? On 11/8/06, crcbedoy_at_proteccion.com.co <mailto:crcbedoy_at_proteccion.com.co> < crcbedoy_at_proteccion.com.co <mailto:crcbedoy_at_proteccion.com.co> > wrote: Con_nombre is a name, nombre means name in spanish:)-- http://www.freelists.org/webpage/oracle-l
![]()
![]()
![]() |
![]() |