RE: Query in 10g

  • From: "Mark W. Farnham" <mwf@xxxxxxxx>
  • To: <crcbedoy@xxxxxxxxxxxxxxxxx>, "Johan Eriksson" <valpis@xxxxxxxxx>
  • Date: Wed, 8 Nov 2006 10:42:17 -0500

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@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]On
Behalf Of crcbedoy@xxxxxxxxxxxxxxxxx
Sent: Wednesday, November 08, 2006 10:41 AM
To: Johan Eriksson
Cc: norman.dunbar@xxxxxxxxxxxxxxxxxxxxxxxxx; oracle-l@xxxxxxxxxxxxx;
oracle-l-bounce@xxxxxxxxxxxxx
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@xxxxxxxxx>"Johan
Eriksson" <valpis@xxxxxxxxx>


"Johan Eriksson" <valpis@xxxxxxxxx>
08/11/2006 10:25

Para

crcbedoy@xxxxxxxxxxxxxxxxx

cc

norman.dunbar@xxxxxxxxxxxxxxxxxxxxxxxxx, oracle-l@xxxxxxxxxxxxx,
oracle-l-bounce@xxxxxxxxxxxxx

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:
-----------------
Error: ORA 1722
Text: invalid number
----------------------------------------------------------------------------
---

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 character

"E" or "e" and retry the operation.
-----

Nothing that could apply?

On 11/8/06, crcbedoy@xxxxxxxxxxxxxxxxx <mailto:crcbedoy@xxxxxxxxxxxxxxxxx>
< crcbedoy@xxxxxxxxxxxxxxxxx <mailto:crcbedoy@xxxxxxxxxxxxxxxxx> > wrote:
Con_nombre is a name, nombre means name in spanish:)

GIF image

GIF image

Other related posts: