how to tackle Arithmetic overflow in db2 functions -


when run user defined function db2 returns following error

  sql0802n  arithmetic overflow or other arithmetic exception occurred.     sqlstate=22003 

without giving me indication function source of error. setting on db2 can have stack trace or better information. looking @ message don't know start investigating.

look @ return type of udf. if it's decimal(5,2), function trying return bigger that, give error. function do?

you might try looking in db2dump directory (~sqllib/db2dump) error logs. not sure if error gets logged though.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -