I have a sproc that returns a single line and column with a text, I need to set this text to a variable, something like:
declare @bla varchar(100) select @bla =
DECLARE @out INT EXEC @out = sp_name 'param', 2, ...
More info in T-SQL "EXECUTE" help (Help is from MSSQL 2008 but this works in 2000 too)