Hi ,
I have query on Stored proc
As
I am writing a stored proc in which another sp is running , so my query is
-- now here my query is how can i get the outparam in my firtsp so that it will become the input of the firstsp
How can i write the stored proc for use in my current application
I have query on Stored proc
As
I am writing a stored proc in which another sp is running , so my query is
Code:
Create Proc Sp_firstSP AS Begin SET NOCOUNT ON firstparameter1 varchar(20 ) , secondparameter int , thirdparameter varchar(20) BEGIN IF ( status = 1 ) execute secondproc @inparam1 @inparam2 @outParam1 @outParam2 update tablename1 set column1 = @outParam1 , column2 = @outParam2 where condition END
-- now here my query is how can i get the outparam in my firtsp so that it will become the input of the firstsp
How can i write the stored proc for use in my current application
Comment