PL/SQL (MOSC)

MOSC Banner

Ref Cursor Problem

edited May 8, 2012 2:20AM in PL/SQL (MOSC) 7 commentsAnswered
Hello,

I have a refcursor out parameter in my procedure, what I'm trying to do is to declare a cursor to get all people(person ids) that use this email, then open the cursor, pass each person id into another select statement to get the detail infomation of the person. I want to get the detail information of all people out. Please see my procedure in the following.

Why the p_results refcursor only returns the last person's detail infor, not all people's detail infor?  How can I get all people's detailed information out? Thank you very much,

PROCEDURE TestGet (

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center