I have two stored procedures: ProcA and ProcB. I would like ProcA to execute ProcB and ask ProcB to return the integer back to ProcA.
My preference would be to use the instruction RETURNin ProcB, but I will use the option OUTPUTif this is my only choice.
Yes, stackoverflow has similar questions. But not yet find one that will compile using Microsoft SQL Server 2008.
source
share