Folks, This is less of a C++ question and more of a recovery from damage question.
We had a piece of C++ code that was inserting into a MSSQL database.
The developer tells me the value being passed was an integer but to craft the correct insert command was being converted to string.
However in this process the integer value was being "corrupted".
We've since addressed the code but we still have a database with a few 1000 records with bogus integers.
Here are actual examples.
input integer 7048459
output integer 37629192input integer 6947757
output integer 37644040input integer 6947758
output integer 37644080
The examples I can identify have a very similar pattern.
Firstly I don't quite get how the output is being derived from the input.
Secondly and this is the question, can the wrong value be "processed" back into the correct value?
Thanks in advance.