17,377
社区成员
发帖
与我相关
我的任务
分享
create or replace function fun
return varchar2
is
v_out varchar2(4000) := ' ';
begin
for i in (select name from t) loop
v_out := v_out||i.name||',';
end loop;
exception
when others then
v_out := ' ';
end fun;