Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Rows Locked

RE: Rows Locked

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Fri, 15 Feb 2002 10:58:35 -0800
Message-ID: <F001.004115D1.20020215110010@fatcity.com>


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

 WHERE object_id = a.row_wait_obj#
 ORDER BY 1, 2 Raj

Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US