调用存储过程时的注意事项假如有输出参数注意要使用output做修饰符 示例如下 alter proc ABC ( @OutValue nvarchar() output ) as set @OutValue=aabbcc select ab from ab print @OutValue alter proc ABCV as Declare @OutValuea nvarchar() Exec ABC @OutValue=@OutValuea output select @OutValuea return |