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

Home -> Community -> Usenet -> comp.databases.oracle -> How to lock a row over a SELECT followed by an UPDATE

How to lock a row over a SELECT followed by an UPDATE

From: Andrew Baker <webmaster_at_vbusers.com>
Date: 27 Jul 2004 11:54:18 -0700
Message-ID: <c19b84e5.0407271054.54ae108a@posting.google.com>


What is the best way to lock an individual row in the following scenerio:

    --TODO - LOCK THIS ROW

I need to make sure that nothing changes the id table between me selecting the id and updating the table with the next available id.

thanks
andrew

PS. yes I am new to oracle :) Received on Tue Jul 27 2004 - 13:54:18 CDT

Original text of this message

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