标签:$$ proc default end color sele -- 存储 mysql
DROP PROCEDURE IF EXISTS `Test_Procedure01`; DELIMITER $$ CREATE PROCEDURE `Test_Procedure01`() BEGIN -- 定义变量 DECLARE v_i int unsigned DEFAULT 0; WHILE v_i < 5 DO SELECT v_i; SET v_i = v_i+1; END WHILE; END $$ DELIMITER ; call Test_Procedure01();
标签:$$ proc default end color sele -- 存储 mysql
原文地址:https://www.cnblogs.com/wooluwalker/p/12228463.html