Are you trying to see how to call one SP from another? I don't think that they actually nest....
CREATE PROC main_proc
AS -- in the next line @infoBox is populated by the other SP...
EXEC sp_requestInfoBox @requestID,null,null,@infoBox output
...
GO
CREATE PROC dbo.sp_requestInfoBox(
@requestID INT = NULL,
@requestCode char(7) = NULL,
@tempID INT = NULL, @infoStr varchar(1500) OUTPUT
)
AS
....
GO
-- What did you expect? This is FREE advice. LOL
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.