Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Rows Locked
Try this .... might need to tweak a bit ...
SELECT owner || '.' || object_name || ' [' || object_type || ']' obj_info,
dbms_rowid.rowid_create(1, row_wait_obj#, ROW_WAIT_FILE#, ROW_WAIT_BLOCK#,ROW_WAIT_ROW#) "Rowid",
a.username, a.sid, a.row_wait_file#, a.row_wait_block#, a.row_wait_row# FROM DBA_OBJECTS, (SELECT a.username, a.sid, a.row_wait_obj#, a.ROW_WAIT_FILE#, a.ROW_WAIT_BLOCK#, a.ROW_WAIT_ROW# FROM v$session a, v$lock b WHERE a.username IS NOT NULL AND a.row_wait_obj# > 0 AND a.sid = b.sid AND b.TYPE = 'TX') a
QOTD: Any clod can have facts, but having an opinion is an art!
*******************************************************************************1
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify ESPN at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
*******************************************************************************1
Received on Fri Feb 15 2002 - 12:58:35 CST