Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Determining if a table/row is locked in a database
try to use this
begin
lock table z in exclusive mode nowait;
except when others then
and this
cursoc c1 is select * from table where id=id# for update nowait begin
c1.open;
c1.close;
except when others then