标签:while begin i+1 class 循环 roc mys into cat
DELIMITER $$ CREATE PROCEDURE pro_insert(IN maxNum INT) BEGIN DECLARE i INT DEFAULT(1); while i<=maxNum DO INSERT INTO employees (first_name ,last_name) VALUES ("z",CONCAT("sc",i)); SET i=i+1; END WHILE; END $$ DELIMITER ; CALL pro_insert(20);
标签:while begin i+1 class 循环 roc mys into cat
原文地址:https://www.cnblogs.com/draymond/p/12641649.html