Arithmetic overflow error converting expression to data type numeric
Posted: Wed 07 Aug 2019 13:31
This problem only happens if I have a DECIMAL(28,15) column is set with the maximum value of 9999999999999.999999999999999 and I use the option to compare with only 3 decimal places.
Here is the message in the dialog
"An error has occurred in prosafe_7x vs prosafe_tux (localhost).dcomp.
Additional information: Cannot compare prosafe_7x.dbo.RV_basecontrol with prosafe_tux.dbo.RV_basecontrol on localhost.
Arithmetic overflow error converting expression to data type numeric.
Do you want to continue process?"
If I set it to 9999999999999 then it works.
I faced a similar issue elsewhere and that is likely to be a .NET exception because .NET will round it up and cause the overflow exception when converting from double and decimal and vice-versa.
We were about to buy a licence until we faced this issue.
Can you give us an estimate on how long it will take you guys to fix it so that we can buy a licence?
Cheers,
Sil
Here is the message in the dialog
"An error has occurred in prosafe_7x vs prosafe_tux (localhost).dcomp.
Additional information: Cannot compare prosafe_7x.dbo.RV_basecontrol with prosafe_tux.dbo.RV_basecontrol on localhost.
Arithmetic overflow error converting expression to data type numeric.
Do you want to continue process?"
If I set it to 9999999999999 then it works.
I faced a similar issue elsewhere and that is likely to be a .NET exception because .NET will round it up and cause the overflow exception when converting from double and decimal and vice-versa.
We were about to buy a licence until we faced this issue.
Can you give us an estimate on how long it will take you guys to fix it so that we can buy a licence?
Cheers,
Sil