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//
執行存儲過程blog
CALL m()