have a monthly sql agent job that executes a stored proc and it started failing a month ago with string or binary data would be truncated error. It has been running for years with no issues, no server changes or db changes related to this process for years.
I restore the database and log files to a dev machine to get back to the point in time when the failure happens and the proc runs successful from SSMS. I have dealt with these errors in the past by putting a timestamp on the table being updated to locate the
row, but since the proc runs I can't seem to find what is wrong. Is it something in the agent job itself possibly? I set the agent job up on the dev machine and it runs successfully. The proc is not complex, it is doing some value calculations, I don't see
anywhere a string length could exceed any of the variables. This is on a 2008 R2 standard edition server.
Any ideas would be appreciated
Any ideas would be appreciated