Ver Mensaje Individual
  #6  
Antiguo 08-03-2004
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 28
jachguate Va por buen camino
Cita:
ORA-01722

ORA-01722invalid 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; make sure they contain only numbers, a sign, a decimal point, and the character "E" or "e", then retry the operation.
Seguramente le estas enviando números "formateados" o con una coma como separador de decimales (solamente te reconocerá el punto). Es mejor trabajar directamente con números y no enviar cadenas que contienen números, para evitar estos problemas. De cualquier forma podes enviar una cadena siempre que sigas las recomendaciones de la cita anterior.

El problema no tiene nada que ver con valores NULL, que son perfectamente soportados por Oracle.

Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita