带输出参数的存储过程语法如下:
CREATE PROC / PROCEDURE 存储过程名
@参数1 数据类型 = 默认值 OUTPUT
.......
@参数n 数据类型 = 默认值 OUTPUT
AS
SQL语句
GO