create or replace function test1 () returns table(tid bigint) as
$$
declare
begin
return query select id as tid from test;
end
$$
language 'plpgsql';
PostgreSQL 存储过程返回多行数据
最新推荐文章于 2022-10-07 13:41:06 发布
create or replace function test1 () returns table(tid bigint) as
$$
declare
begin
return query select id as tid from test;
end
$$
language 'plpgsql';