hi,
i have a situation,
i want to call a stored proc "sp2" in "sp1"
sp1 start
Declare @stroutput varchar(max)
exec sp2 p1,@stroutput
select @stroutput
sp2 end
i want @stroutput output form sp2 which i am getting , but i am also getting the result returened by sp2
which i want to block "with out changing the sp2".
one solution is, i tried to put the result of sp2 in temporary table which gets dealocated after sp1 is finished.
but i have to create an extra temp table which i do not want to do.
so apart from solution if any other solution exist then please tel me.
yours sincerley