Guest_imported
New member
- Jan 1, 1970
- 0
Hi All,
I am new to this Forum.I have a problem.I have a package with two procedures.Procedure A and Procedure B.Procedure A calls Procedure B and passes a cursor(Cursor A).Procedure B has a cursor(Cursor B).There is Fetch loop in the Procedure B.After the loop execution is resumed back at Procedure A,but when I fetch Cursor A the cursor pointer is at the last record.Why does this happen.When I pass a cursor What happens?Is the value of the cursor passed or the reference of the cursor passed.If you have a solution to this please let me know.I am passing a REF cursor by the way.
Regards
Joseph
I am new to this Forum.I have a problem.I have a package with two procedures.Procedure A and Procedure B.Procedure A calls Procedure B and passes a cursor(Cursor A).Procedure B has a cursor(Cursor B).There is Fetch loop in the Procedure B.After the loop execution is resumed back at Procedure A,but when I fetch Cursor A the cursor pointer is at the last record.Why does this happen.When I pass a cursor What happens?Is the value of the cursor passed or the reference of the cursor passed.If you have a solution to this please let me know.I am passing a REF cursor by the way.
Regards
Joseph