BEGIN
#Routine body goes here...
#Routine body goes here...
#声明变量
DECLARE i INT;
SET i=0;
#设置插入条数,比如i<3就是插入3条
WHILE i<3 DO
BEGIN
#插入sql
INSERT INTO `db_kideng`.`TB_ACTIVITY_SHARE` (`activity_id`, `create_time`, `update_time`)
VALUES ('104', '2020-06-16 09:34:42', NULL);
set i= i+1;
END;
end WHILE;
END