FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
error numeric overflow con applyupdates
Hola:
Utilizo applyupdates en un programa de facturas. Todo bien hasta que en la línea de factura pongo una cantidad de 300000 y al aplicar al applyupdates me da el siguiente error..: Dynamic SQL error SQL error code= -303 arithmetic exception , numeric overflow , or string truncation Solo me pasa al llegar a esas cantidades. Si no utilizo el applyupdates todo bien. ¿Hay un límite de memoria o algo? Gracias |
#2
|
|||
|
|||
Error solucionado..
Perdonar pero el error no está en el applyupdates está en que usé un campo decimal(9,4) y produce el overflow...
Un saludo |
#3
|
||||
|
||||
Hace no mucho, esto me paso pero con enteros, yo enviaba un Int64, y en la BD el formato era Int32, y me generaba este mismo error... La solución era evidente, cambiar a Int64 el campo de la BD.
Información sobre el error. Cita:
|
#4
|
|||
|
|||
Sobre el overflow..
Hola:
Lo que me pasó es que hace tiempo que programé esta aplicación y no se me ocurrió mejor forma que poner el campo como un DECIMAL(9,4). Con un float seria mejor, o se cambio a un DECIMAL(10,4) se me queda resuelto. Gracias por tu hilo.. Un saludo |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
float a decimal: overflow error | sinalocarlos | MS SQL Server | 4 | 31-10-2006 18:53:17 |
Aritmetic excepcion, numeric overflow... | andressanchez | Firebird e Interbase | 10 | 27-04-2006 15:40:56 |
Error: arithmetic exception, numeric overflow, or string truncation | burasu | Conexión con bases de datos | 3 | 22-09-2005 15:48:29 |
Error: BCD Overflow | bismarck_sierra | Conexión con bases de datos | 2 | 20-06-2004 01:34:44 |
Error ApplyUpdates(0); | raulparraco | Conexión con bases de datos | 4 | 27-05-2003 22:43:44 |
|