I have a coworker who came across DBMS_SQL.to_refcursor
which would be a great solution for him to pass back the refcursor he needs, however we are running Oracle 10g and this feature is only available in 11g.
Is there an easy equivalent to this in Oracle 10g?
We have developed an alternate way of coding our solution but it would be easier to use the bind variables in the DBMS_SQL but we don't want this package to become overly difficult to manage and such since it will be passed on to other programmers to maintain.