CALL name_of_stored_procedure(parameters);
Coba ini di tab 'SQL':
CREATE DEFINER=`root`@`localhost` PROCEDURE `storedprocedure1`(OUT myvar1 CHAR(64))
SET myvar1="IT ";
CREATE DEFINER=`root`@`localhost` PROCEDURE `storedprocedure2`(OUT myvar2 CHAR(64))
SET myvar2="WORKS";
Kemudian hubungi:
CALL procedure1(@var1);
CALL procedure2(@var2);
SELECT @var1,@var2;