Sql-存储过程-参数类型-inout
delimiter // create procedure p7(inout a int,inout b int) begin set a=a*2; set b=b*2; end// set @a=3; set @b=5; call p7(@a,@b) select @a,@b
delimiter // create procedure p7(inout a int,inout b int) begin set a=a*2; set b=b*2; end// set @a=3; set @b=5; call p7(@a,@b) select @a,@b