ORA-00054: resource busy and acquire with NOWAIT specified
Date: Tue, 27 Oct 2009 17:09:38 -0400
I got this error and I want to confirm my concepts are right.
delete from tab1 where col1=20;
0 rows deleted
truncate table tab1;
I get "ORA-00054: resource busy and acquire with NOWAIT specified"
When session1 deleted 0 records, it should not be placing any locks on the table correct? I do not understand why I got the error. Am I missing some basic concept?
When I did a rollback on the session1 then session2 was able to truncate the table.