Has anyone had any experience with the contents of a stored procedure getting deleted? The object is still visible in object explorer, but when you go to modify the contents it is empty.
I just started at a new place and trying to clean up and improve their environment. It was brought to my attention that a certain report that was being ran should have returned some results, but instead was just returning a blank report. While researching the problem, I backtracked to the stored procedure on the server and discovered that the definition of that object was completely blank. Had to go back to a restore to get the definition.
This is at least the second time this quarter, but a different procedure. What could be causing this?
Thanks!
SQL Server 2005 Standard Edition
Windows Server 2003 R2 Service Pack 2