Debugging a Stored procedure in SQL server

By aparna.vpai ·
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 conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Related Discussions

Related Forums