Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic PL/SQL(Please Reply)

Status
Not open for further replies.

josephtauro

Programmer
May 14, 2001
5
Hi All,
I am using Dynamic PL/SQL in my procedure.My question is how do I pass a cursor out of this Procedure.
e.g ProcedureA(curs1 OUT etc).
In Dynamic PL/SQL when we open a cursor we get a cursor Handle instead of a cursor.
i.e
v_CursorID:=DBMS_SQL.OPEN_CURSOR;
I get only an integer value for this cursor handle.But if I want to pass this cursor Instead of the cursor handle(which is an integer)how do I do it.
Please send me your suggestions.
Regards
Joseph
 
You do may pass this handler as integer, so to open cursor in one procedure and pass its handler into another for utilizing. You'll get invalid_cursor error if no cursor with this handler is opened.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top