示例如下:
alter proc ABC
(
@OutValue nvarchar(20) output
)
as
set @OutValue='aabbcc'
select a,b from ab
print @OutValue
alter proc ABCV
as
Declare @OutValuea nvarchar(20)
Exec ABC @OutValue=@OutValuea output
select @OutValuea
return 2
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/