delimiter // #修改结束符号为//
create procedure pro_wyx() /*创建存储过程*/
begin
declare i int ; #定义变量
set i=1;
while i<=100 do #设置循环次数
inset into wyx(xm,nl,xb)values('刘德华','51','男');
set i=i+1;
end while;
end;//
call pro_wyx(); #调用存储过程
select * from wyx;
delete from wyx;