Out parameter
delimiter $$ CREATE PROCEDURE half(IN a INT, OUT b INT) BEGIN SET b=a/2; END$$ delimiter ; mysql> mysql>