//MYSQL调用存储过程 delimiter $$ //改写事务的提交过程 create procedure getStu(in n VARCHAR(50)) //procedure新存储过程 begin select * from student where name = n; end$$ delimiter ; //MySQL执行 call getStu('李白');//就有一个结果集了 //MySQL自定义函数 begin select * from student where name = n; end