摘要:
在程序中我们会用到存储过程,delimiter // /*该变mysql的结束符号*/createPROCEDURE StudentNum(out param int)beginselect count(*) from Students;end//delimiter ;调用call StudentNum(@student);函数:delimiter //create procedure StudentName(IN sid INT,out names char(10)) beginselect name from test where id=sid;end//delimiter ;注意:当我们 阅读全文