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

Home -> Community -> Usenet -> c.d.o.server -> Re: Read only transaction problem

Re: Read only transaction problem

From: <xhoster_at_gmail.com>
Date: 03 Jun 2005 16:01:20 GMT
Message-ID: <20050603120120.015$Fs@newsreader.com>


cookie monster <nospam_at_nowhere.com> wrote:
> Hi,
>
> Using Oracle 9iR2
>
> I have this problem whereby I want to read from 10 tables that have FK
> and the data is always changing. Therefore I use the option SET
> TRANSACTION READ ONLY. Works fine. But now I want to read these 10
> tables and create NEW tables with consistent data (using pl/sql). The
> problem is I can't perform any insert of new data because I get an
> error that the transaction is read only.

Then use the serializable isolation level. Be warned that it is not truly serializable, but I don't think it will be a problem for your purposes.

Xho

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service                        $9.95/Month 30GB
Received on Fri Jun 03 2005 - 11:01:20 CDT

Original text of this message

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