存储过程
DELIMITER ;;
DROP PROCEDURE IF EXISTS `data_retention`;;
CREATE PROCEDURE `data_retention`()
begin
-- 逻辑代码
end;;
call data_retention;
DELIMITER ;;
DROP PROCEDURE IF EXISTS `data_retention`;;
CREATE PROCEDURE `data_retention`()
begin
-- 逻辑代码
end;;
call data_retention;