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: Can I lock up partial set of records in a table?

Re: Can I lock up partial set of records in a table?

From: Brian E Dick <bdick_at_cox.net>
Date: Fri, 10 May 2002 13:16:10 GMT
Message-ID: <uKPC8.18517$1a4.644551@news2.east.cox.net>


If you use the "for update" clause on a select, the database locks all the rows that satisfy the query. If the database is unable to lock all the rows, it raises an exception. Use this with care.

"C Chang" <cschang_at_maxinter.net> wrote in message news:3CDB495D.6DF_at_maxinter.net...
> I have a procedure to update part of records that belong to certain site
> ( such as reginal bank). Can I lock up that part of records, so no other
> user can enter new records belonging to that location? The new records
> are entered through sqlldr process? I have no clue to this. Do i need a
> trigger or? I will appreciate anyone for a learning tip.
>
> C Chang
Received on Fri May 10 2002 - 08:16:10 CDT

Original text of this message

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