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: select ...for update wait

Re: select ...for update wait

From: Sybrand Bakker <gooiditweg_at_sybrandb.verwijderdit.demon.nl>
Date: Wed, 15 Dec 2004 18:51:44 +0100
Message-ID: <7bu0s0htptbrqmsjn0rjbdbjg772a3ippd@4ax.com>


On 15 Dec 2004 09:04:05 -0800, "db2group88_at_yahoo.com" <db2group88_at_yahoo.com> wrote:

>i am using oracle 10g with patch set 1 ,
>but looks like this doesn't work, one session has the row lock, the
>other session wait forever.

which is exactly how it always have worked. The nowait option of the lock table statement and the select for update statement make the other session fail when it can't acquire a lock.

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Dec 15 2004 - 11:51:44 CST

Original text of this message

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