I am trying to create a stored procedure (sp_ProcA) that calls another stored procedure (sp_ProcB).
sp_ProcB has several input params as well as one output parameter. For this purpose, I don't need that return variable, so I have just created a container variable within sp_ProcA to hold that value, but I am receiving errors when I try to run sp_ProcA:
Server: Msg 201, Level 16, State 3, Procedure sp_ProcB, Line 0
Procedure 'sp_ProcB' expects parameter '@OutputVariable', which was not supplied.
This seems like a common thing, I just am not sure what I am missing...
Thanks in advance for any advice.
sp_ProcB has several input params as well as one output parameter. For this purpose, I don't need that return variable, so I have just created a container variable within sp_ProcA to hold that value, but I am receiving errors when I try to run sp_ProcA:
Server: Msg 201, Level 16, State 3, Procedure sp_ProcB, Line 0
Procedure 'sp_ProcB' expects parameter '@OutputVariable', which was not supplied.
This seems like a common thing, I just am not sure what I am missing...
Thanks in advance for any advice.