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!

OPEN cursor for large query

481039Jan 6 2006 — edited Jan 9 2006
OPEN cursor

When you OPEN a cursor for a mult-row query, is there a straightforward way that you can have it only retrieve a limited number of rows at a time and then automatically delete those rows as you do the FETCH against them? I'm thinking of setting up multiple sequential cursors, and opening and closing them as the rows are processed. But I'm hoping there might be a better way.

The problem is that I'm running out of TEMPORARY during the OPEN cursor stage.

The application I am working on needs to work in Standard Edition and Personal Edition versions of Oracle.

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2006
Added on Jan 6 2006
6 comments
1,491 views