Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error ORA-01002: fetch out of sequence

567881May 4 2011 — edited May 4 2011
Hi all,

I created 3 cursors. The scenario is like following :

Begin Cur A

Begin FOR xx IN Cur B LOOP

Begin FOR xx IN Cur C LOOP



End LOOP Cur C;

commit;
End LOOP Cur B;

End Cur A;

When i run the program its display error ORA-01002: fetch out of sequence.
The objective of my program is to insert into table and commit every transaction.

Kindly share info with me why this error happened.

TQ.

tim
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 1 2011
Added on May 4 2011
5 comments
91,356 views