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: Luis Santos <lsantos_at_pobox.com>
Date: 1996/12/24
Message-ID: <32bc8a80.1783220@news.centroin.com.br>#1/1

pelliott_at_isd.net (Patrick Elliott) wrote:

> I am having a puzling problem. I have a pl/sql procedure that opens a
> cursor in a loop, inserts records from the cursor into a table, and if
> there are any errors, the error messages are inserted into a third
> table via an exception section. I am committing after every insert,
> the tables are empty before the procedure starts, but I am still
> getting a "SNAPSHOT TOO OLD" message. Here is a fragment of code
> similar to what I am working with, but simplified:
>
> Any answers to this question would be greatly appreciated.
>

        Do you REALLY need commit changes after EVERY insert? Try to commit on the end to see to results...

        Thanks,

--
Luis Santos
Relacional Consultoria
Rio de Janeiro - Brazil
Received on Tue Dec 24 1996 - 00:00:00 CST

Original text of this message

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