do $$
declare i record;
begin
for i in 100000..300000
loop
insert
into
scott.departments
select
100000 + i,
'dept' || 100000 + i,
now(),
now();
commit;
end loop;
END$$;
在即将发布的lightdb 22.2中,将完全支持oracle PL/SQL。对于从oracle迁移到lightdb的用户,将真正享受到一份存储过程代码可同时运行在oracle/lightdb中。
LightDB Enterprise Postgres--金融级关系型数据库,更快、更稳、更懂金融!