could someone tell me how to do this.
----Inner sp--------------
create proc test
@out int output
as
select @out = 1
select @out
----------------
i want to assign the output param to a local variable something like
declare @i int
set @i = exec test @out = 2
Cheers for any help.
Jules
www.sql-library.com[/url]