We have a legacy financial application running which is no longer supported but important to us.
We have overwritten approximateley 250 rows manually in 2 columns "price" and "selling_price" and now the application crashes at some point where it calculates some reports.
I believe our mistake was to not round to 2 decimals before writing the valuies.
My plan is to use MS Access and update the values in the row.
Old values were like:
24.48
6.98
100.10
But we also wrote values like
20.19802
99.42882
108.1302
and I believe this lets it crash when it sums over them
Could it be a good idea just to make an MS Access query and overwrite with the rounded values? Or is it on the MS SQL Tabel level more accurate to use a SQL Query that modifies using T-SQL functions? My idea would be to overwrite with ROUND(108.1302, 2)
Someone with a lot of MS SQL experience?
This row is of type float, lenght 53, scale 0, allow Null = no.
I am not quite sure what happens internally and what the application is expecting, because float is stored in binary, so what we see cannot be the same that is internally stored.
In MS Access, we connect to the tables using ODBC, it would almost be the same function ROUND(108.1302, 2), but does this also lead to the same result?
How should this be overwritten, what seems safest from your experience?