Re: Query in 10g

  • From: "Johan Eriksson" <valpis@xxxxxxxxx>
  • To: crcbedoy@xxxxxxxxxxxxxxxxx
  • Date: Wed, 8 Nov 2006 16:25:57 +0100

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 <crcbedoy@xxxxxxxxxxxxxxxxx> wrote:

Con_nombre is a name, nombre means name in spanish:)


Other related posts: