存储过程3 带参数修改存储过程

in 输入参数

delimiter $ 

create procedure pro_findId(in  eid int )

begin 

select * from where id=eid;

end $

delimiter ;

这样存储过程就创建好了

我们来执行以下

call pro_findid(2);

原文地址:https://www.cnblogs.com/qmk-716/p/9710485.html