here\'s the stored procedure i wrote.In this proc \"p_subjectid\" is an array of numbers passed from the front end.
PROCEDURE getsubjects(p_subjectid subject
you have to cast the results of the pipelined query so:
If your pipelined function returns a rowtype of varchar2 then define a type (for example )
CREATE OR REPLACE TYPE char_array_t is VARRAY(32) of varchar2(255); select * from table(cast(fn(x) as user_type_t ) );
will now work.