标签:pos into loop oop sign 存储 postgre 插入 for
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;
补充:
字符串变整数
ONVERT(‘123‘,SIGNED);
标签:pos into loop oop sign 存储 postgre 插入 for
原文地址:https://www.cnblogs.com/mobies/p/11750038.html