Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> How to know the locked rows of a table ?
Hi,
I need to know the locked rows of a table. In our intranet application, we use only one oracle user account. There are several sessions of the same user. The rows of a table can be locked with a "select... for update nowait" query. When the application fails, we have to delete the locks.
The v$session view gives us the sid and the serial no, the sys.v$locked_object the object_id of the locked tables.
But is it possible to get the rowid of the rows locked in the object_id tables ?
Thanks for your answers,
![]() |
![]() |