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: Row locking and serializability

Re: Row locking and serializability

From: Vadim Tropashko <vadimtro_at_yahoo.com>
Date: Tue, 06 Jul 1999 13:49:26 -0700
Message-ID: <37826BD6.773C9C50@yahoo.com>


iggy_fernandez_at_my-deja.com wrote:

> The question that remains unanswered is how
> serializability may be manually achieved when
> using Oracle.

This one seems easy -- just lock "the whole" table:

alter session set isolation_level=serializable; select * from passengers for update;
insert into passengers values 'Z';
commit;

Thransaction above is serializable indeed. Received on Tue Jul 06 1999 - 15:49:26 CDT

Original text of this message

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