delimiter $$
create procedure procedureyy()
BEGIN
declare i int default 1;
while i <100000 DO                  
    begin
INSERT INTO testdb.t_test VALUES(i,'锤子手机');
        set i=i+1;
    END; 
end while;
END ;
$$
DELIMITER ; 

相关文章:

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