I just needed a help from you.
The problem that I am facing is that I am not able to use the output variable of sp_A into sp_b.
sp_A:
output variable X,
input variable Y
sp_B:
Line 1: exec sp_A, @x='',@y='anything'
Line 2: insert into tab1(id) values (@x)
i am not able to use @x in line 2 of sp_B.
Please let me know if this is allowed in SQL Server. And if yes, please let me know how do get around this situation.
Thankx
Paras Shah
Evision Technologies
Mumbai, India