mysql循环插入数据库中数据。时间:2023-03-08 16:17:51 DELIMITER ;; CREATE PROCEDURE test_insert () BEGIN DECLARE i INT DEFAULT 1;WHILE i<100 DO insert into goods(good_name,good_price,de) values ('gui',i,'hao'); SET i=i+1; END WHILE ; commit; END;; CALL test_insert();