We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


function return cursor

pbocanegra asked
Medium Priority
Last Modified: 2013-12-12
How Do I use a cursor that return of a PL/SQL FUnction, into a SQL Stament? . I have Oracle 8i.
Watch Question

To my knowledge, this isn't possible. I've tried various ways to do it myself without success. Here is a link that confirms my thoughts.

I will note that on 9i, it is possible to create a pipelined function that reads the cursor for you and returns the rows from the cursor, which you can then cast to a table and select from it, but if you are going to go through that, I'm not sure why you wouldn't just have the pipelined function open it's own cursor, doesn't seem much advantage to passing one in.

anyway, unfortunately, I don't believe you can do that.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.