karthik555
IS-IT--Management
Hello,
I have been encountering this problem. But on an increased frequency off late.
A Stored Procedure which is not giving desired output. Say returns a wrong row or value in the recordset being returned.
When we take the text of the SP from the same database, using SP_Helptext and recompile it by changing CREATE PROCEDURE with ALTER PROCEDURE (NO Other change done to Code), now the SP gives desired output.
Can anyone explain what should cause this?
If there is any DB level setting that I need to do to permanently avoid this, please let me know.
Thanks in advance.
I have been encountering this problem. But on an increased frequency off late.
A Stored Procedure which is not giving desired output. Say returns a wrong row or value in the recordset being returned.
When we take the text of the SP from the same database, using SP_Helptext and recompile it by changing CREATE PROCEDURE with ALTER PROCEDURE (NO Other change done to Code), now the SP gives desired output.
Can anyone explain what should cause this?
If there is any DB level setting that I need to do to permanently avoid this, please let me know.
Thanks in advance.