SESSION-1>select * from tbl1;
VAL DT USR_ID
---------- --------- --------------------
5 17-DEC-08 TEST
10 17-DEC-08 TEST
20 17-DEC-08 TEST
40 17-DEC-08 TEST
50 17-DEC-08 TEST
SESSION-1>select * from tbl1 where val=5 for update nowait;
VAL DT USR_ID
---------- --------- --------------------
5 17-DEC-08 TEST
*******************************************
SESSION-2>select * from tbl1 where val=5 for update nowait;
select * from tbl1 where val=5 for update nowait
*
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified
|