Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to get a lock on single row
Manoj Goel wrote:
> Hi guys,
>
> We are trying to get a lock on a single row so that next query does not
> see that row.
> Is it possible to do that in Oracle 7.3.(I don't want to commit as yet or
> update the data
> so that row is excluded)
>
Oracle will do that automatically - lock the row. Don't quite understand what
you're trying to archieve... Any other user will either not see the row (when
it is new), or see the old data (when it is in the process of being updated),
until committed.
Excluding from a select is not done via locks, you should use a where-clause.
Kr, Frank Received on Wed Dec 30 1998 - 07:00:01 CST
![]() |
![]() |