Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: snapshot too old

Re: snapshot too old

From: x <x_at_x.hr>
Date: Thu, 26 Feb 2004 09:26:45 +0100
Message-ID: <c1kage$gf0$1@ls219.htnet.hr>


The other workaround (if you really need to commit after 2500 rows) is to declare cursor like this

cursor c1 is select ssn from test_table order by 1;

This will keep the cursor in temp segment, not in rollback segment.

But, generally, don't 'fetch across commit', or in normal language don't commit inside loop.

And don't use larger rollback segments, since it won't solve your problem. Received on Thu Feb 26 2004 - 02:26:45 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US