Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Chao Y. Din — — source: Informix-list mailing list archive (1991-1998)
Mark D Stock wrote:
>
> Dallan Quass wrote:
> >
> > I have a particular situation where I _want_ a transaction to
> > see the effect of uncommitted writes (please don't tell me that
> > I shouldn't be doing this -- it's in a very controlled environment).
> >
> > Is it possible in Informix to set the transaction isolation level
> > of a read-only transaction to read uncommitted, so that the
> > transaction sees the uncommitted writes of other ongoing transactions?
> >
> > (In Oracle I have found that it is not possible.)
>
> Er... I think you mean:
>
> SET ISOLATION TO DIRTY READ>
> If I understand you correctly.
>
> Cheers,
> --
>
> Mark.
>
I recommend the following
SET TRANSACTION LEVEL TO READ UNCOMMITTED.
An advantage of this ANSI-Compliant statement is that if there is an
unfinished transaction, the above statement will generate an SQL/ISAM
code error.
Chao
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.