I have PL/SQL function looking like:
FUNCTION get_agent_statistics ( id NUMBER
RETURN agent_stats_t
PIPELINED;
And I select from it (iBatis code):
SELECT * FROM table(pkg.get_agent_statistics(#id#))
How should I change this select if I'll remove PIPELINED
statement from function?
If you'll get working compiled procedure without
PIPELINED
statement, you don't need to change yourSELECT
. See this - http://www.oracle-base.com/articles/misc/pipelined-table-functions.php