segmentfault
Programmer
i have a table function (pipelined) which take as an argument a cursor. for each row in the cursor i go and execute another query which produce more than 5 rows.
for example, for one row in the cursor, my query can produce 5 rows. for another row in the cursor the query can produce 7 rows. when i execute this query i bulk bind into a pl/sql table.
so basically i open a cursor and for each row in the cursor i execute another query that produce 1 or more rows. what i want to be able to do is pipeline my entired pl/sql table which might contain 1 or more row. is this possible?
i tried and it doesn't work. i don't know if table function can only pipeline one row at a time. i try to use parallel enable keyword but i don't know the # of rows return by my second query. can you please help? thanks
for example, for one row in the cursor, my query can produce 5 rows. for another row in the cursor the query can produce 7 rows. when i execute this query i bulk bind into a pl/sql table.
so basically i open a cursor and for each row in the cursor i execute another query that produce 1 or more rows. what i want to be able to do is pipeline my entired pl/sql table which might contain 1 or more row. is this possible?
i tried and it doesn't work. i don't know if table function can only pipeline one row at a time. i try to use parallel enable keyword but i don't know the # of rows return by my second query. can you please help? thanks