Debugging a Stored procedure in SQL server - TechRepublic
Question
February 5, 2007 at 10:07 PM
aparna.vpai

Debugging a Stored procedure in SQL server

by aparna.vpai . Updated 17 years, 9 months ago

For debugging purpose I have put a print statement in the procedure. When I execute the procedure using exec proce_name, the value returned by print statement is ‘Failure’
But when I try to execute the procedure through query analyser, the value returned by print is ‘Success’
How come the same piece of code is giving different results?

This discussion is locked

All Comments