調用存儲過程時的注意事項
示例如下
alter proc ABC
(
@OutValue nvarchar(
)
as
set @OutValue=
select a
print @OutValue
alter proc ABCV
as
Declare @OutValuea nvarchar(
Exec ABC @OutValue=@OutValuea output
select @OutValuea
return
From:http://tw.wingwit.com/Article/program/SQL/201311/16198.html