MySQL執行存儲過程的步驟如下:
DELIMITER //
CREATE PROCEDURE my_procedure (IN param1 INT)
BEGIN
SELECT * FROM my_table WHERE column = param1;
END //
DELIMITER ;
CALL my_procedure(123);
SHOW CREATE PROCEDURE my_procedure;
DROP PROCEDURE my_procedure;
通過以上步驟,可以在MySQL中創建、調用和管理存儲過程。