[csharp-l] ERROR ORA-01722 EN TABLAS CREADAS CON EL GENEXUS

37 views
Skip to first unread message

César Toledo

unread,
Feb 9, 2007, 2:26:30 PM2/9/07
to genexus net
Saludos Foro
 
por favor su ayuda tengo unas tablas creadas por el Genexus 8 y oracle 9i , en net, en el momento que quiero insertar un registro me da el erroros ora-01722 en todas las tablas creadas por el genexus
 
Cabe indicar que el usuario esta como dba
 
 
la verdad no tengo ninguna idea de como solucionar este inconveniente si alguien me puede ayudar le agradesco de antemano por todo su apoyo
 
 
 
Saludos
César
 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/

Mario Alfredo Perez

unread,
Feb 14, 2007, 9:33:42 AM2/14/07
to csha...@gxtech.com.uy
El error es
 
ORA-01722
ORA-01722: 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.
Pareciera como que estarías accediendo por dataview y los tipos de datos de la transacción correspondiente a la tabla no estan todos iguales...
 
abrite una sesión de sqlplus y escribí:
 
 desc tutabla...donde tutabla es una tabla a la cual quieras insertarle un dato.
 
luego reviza los tipos de datos de la trn correspondiente a dicha tabla.
 
saludos
 
 
-----Mensaje original-----
De: César Toledo [mailto:cwto...@yahoo.com]
Enviado el: viernes, 09 de febrero de 2007 16:27
Para: genexus net
Asunto: [csharp-l] ERROR ORA-01722 EN TABLAS CREADAS CON EL GENEXUS#

Fabian Martinez

unread,
Feb 14, 2007, 9:45:55 AM2/14/07
to csha...@gxtech.com.uy
Hola
 
Una de las causas del Invalid Number es el lenguaje y el juego de caracteres en que instalaste el server y los clientes.
 
Fijate en el registry en la clave:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME1\NLS_LANG
(o HOME0 )
 
ahi podes tener un valor  del estilo de LATIN AMERICAN SPANISH.WE8MSWIN1252
 
proba cambiandolo al mismo lenguaje y juego de caracteres que el server....
por ejemplo yo aca tengo:
 
AMERICAN_AMERICA.WE8ISO8859P1
 
 
saludos
fabian
Reply all
Reply to author
Forward
0 new messages