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: Insert into with nowait?

Re: Insert into with nowait?

From: victor <victor_at_PERCOMBANK.KIEV.UA>
Date: 6 Nov 1998 14:54:22 GMT
Message-ID: <01be0995$49a77180$6b14abcc@victor>

Nicolas Bronke <NBronke_at_t-online.de> wrote in article <71v0h2$hir$1_at_news00.btx.dtag.de>...
> The statement
> select * from table where id=:id for update nowait
> prevents that a update or delete my hang, because another user had
already
> locked this record.
> Does exist such a possibility also for the insert into command?

you can lock table before insert like this  lock table name in exclusive mode nowait; Received on Fri Nov 06 1998 - 08:54:22 CST

Original text of this message

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