begin

declare i int; 

i :=1;

for i in 1..10 loop

insert into table_name values (i,now());

i=i+1;

end loop;

end;

 

 

补充:

字符串变整数

CONVERT('123',SIGNED);

相关文章:

  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2022-01-03
  • 2021-08-23
相关资源
相似解决方案