2
我有一些管道函数:尾呼吁流水线功能
create type my_tab_type as table of ...
create function my_func (X in number) return my_tab_type pipelined as
begin
loop
...
pipe row (...);
end loop;
return;
end;
现在我想创建另一个管道函数my_func_zero
这不一样my_func
但对于参数的固定值:my_func_zero
必须等于my_func(0)
。
我可以实现my_func_zero
没有无意义和无聊的循环处理由select * from table(my_func(0))
返回的每一行吗?
P.S. That线程有点类似,但它不包含我的问题的答案。