Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Can I lock a Row in a Oracle Table ?
A copy of this was sent to Marco Andre <mandre_at_ism.com.br>
(if that email address didn't require changing)
On Thu, 29 Apr 1999 20:41:59 -0300, you wrote:
>Can I lock a Row in a Oracle Table ? Or how can I handle one record
>being change by two users ?
>
>thanks.
select * from T where pk = value FOR UPDATE;
will lock the row(s) selected.
Thomas Kyte
tkyte_at_us.oracle.com
Oracle Service Industries
Reston, VA USA
--
http://govt.us.oracle.com/ -- downloadable utilities
![]() |
![]() |