do you use an "OUTPUT" keyword for the parameter that you want to return? You may see examples in BOL article CREATE PROCEDURE. See the example D there that shows how to create procedure with output parameter and how to run it.
You may call one procedure from another up to 32 levels. The inner procedure should use OUTPUT keyword for your parameter so you can output the result into the variable in the outer level procedure.
Regards,Yelena Varsha
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply