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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: row level lock

RE: row level lock

From: Ramon E. Estevez <com.banilejas_at_codetel.net.do>
Date: Thu, 07 Mar 2002 07:58:25 -0800
Message-ID: <F001.00421F85.20020307075825@fatcity.com>


Shishir,

When you make the select statement at the end add the clause FOR UPDATE

SELECT FIELD1, FIELD2 FROM TABLE
     WHERE
FIELD1 = 40
    FOR UPDATE Luck,

-----Original Message-----
Sent: Thursday, 07 March, 2002 10:03 AM
To: Multiple recipients of list ORACLE-L

HI list!
  I want to lock a table on row level ( not table level) . how do we pass the pass that value in syntax which will lock only those rows. plz make me understand by giving an example.

thanx in advance..
Shishir Kumar Mishra
Agni Software (P) Ltd.,
Bangalore-560055, India
www.agnisoft.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Ramon E. Estevez
  INET: com.banilejas_at_codetel.net.do

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Mar 07 2002 - 09:58:25 CST

Original text of this message

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