I have a stored procedure where it ends with a RETURN value of 0 or 1.
I want to use this value in an IF statement in another stored procedure.
How can I get the
This should work for you. Infact the one which you are thinking will also work:-
....... DECLARE @returnvalue INT EXEC @returnvalue = SP_One .....