delimiter // create procedure m() begin declare num int; set num=1; while num < 100000 insert into test(stuNo,StuName) values('随便','123') set num=num+1; end while; end//
执行存储过程
CALL m()
2023-07-25 10:14:52
delimiter // create procedure m() begin declare num int; set num=1; while num < 100000 insert into test(stuNo,StuName) values('随便','123') set num=num+1; end while; end//
执行存储过程
CALL m()