#openGauss #入门 #安装 #数据库 #开源
知识来源:docs-opengauss.osinfra.cn/zh/
示例
create or replace procedure while_test()
as
declare _i integer = 0;
BEGIN
the_while:
while _i < 10 do
_i := _i + 1;
continue the_while when _i % 2 = 0;
raise notice '%', _i;
end while the_while;
end;
/
select while_test();
#openGauss #入门 #安装 #数据库 #开源