DROP PROCEDURE IF EXISTS proc_student_Insert;
CREATE  PROCEDURE proc_student_Insert(IN loop_times int)
begin
declare i INT default 20123;
set i=20123;
while i<loop_times do
  set i=i+1 ;
 insert into student(sno,sname,ssex,sbirthday,class) values(i,''+i,'女','1983-09-18','11');
end while;
end;

CALL proc_student_Insert(100000);

相关文章:

  • 2021-11-23
  • 2022-12-23
  • 2021-11-20
  • 2021-10-20
  • 2022-12-23
  • 2021-04-30
  • 2021-12-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-09
  • 2021-07-24
  • 2022-12-23
相关资源
相似解决方案