I need to create a REF CURSOR that has a subquery SELECT in it. I go through Oracle's entire topic on REF CURSORS and they do not make any mention of this type of restriction. When I compile my stored procedure, it compiles with errors. I know that the SQL statement that comprises my cursor is valid because it runs on SQL*Plus. Is there any information on this restriction? I can't use inline functions because Crystal Reports prohibit embedded stored objects in stored procs that you intend to base a report on. Are there any other ways I can do this?
Thanks
rshawtx
Thanks
rshawtx