简单的存储过程
//创建存储过程
create proc usp_add
@num int,
@num1 int
as
begin
select @num+@num1
end
//调用存储过程
exec usp_add @num=1,@num1=3
posted on 2017-12-12 19:18 CCCCCC1129 阅读(64) 评论(0) 编辑 收藏 举报
//创建存储过程
create proc usp_add
@num int,
@num1 int
as
begin
select @num+@num1
end
//调用存储过程
exec usp_add @num=1,@num1=3
posted on 2017-12-12 19:18 CCCCCC1129 阅读(64) 评论(0) 编辑 收藏 举报