Good afternoon,
I already have a certain experience with PL / SQL but I have now started working with the Oracle database and packages.
I have a problem where my procedure in the package is getting two parameters and from there performing some tasks working with the bulk collect, forall and rowtype to fetch the information in several tables.
The question is: do I need these parameters to come from another function or cursor and from that return, execute my procedure inside the package. This cursor / function must be inside the same package as well.
This cursor / function will query an X table and if this table contains some results, they will search the procedure for the necessary information and insert them into a temporary table that will be consumed by another process.
Has anyone worked with this or do you know more or less the way I can accomplish this?
Thank you