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

Home -> Community -> Usenet -> c.d.o.server -> Re: how can I know who has acquired an user lock?

Re: how can I know who has acquired an user lock?

From: Bill Sonia <member_at_dbforums.com>
Date: 19 Mar 2002 12:17:51 -0600
Message-ID: <3c9780cf$1_1@spamkiller.newsgroups.com>


Try this:

select ao.object_name,

vl.os_user_name, ao.owner,
vm.SESSION_ID,
vn.ORACLE_USERNAME from all_objects ao, v$locked_object vl where

   vl.object_id = ao.object_id;

This will give you the object_name as well.

~Bill

--
Posted via dBforums
http://dbforums.com
Received on Tue Mar 19 2002 - 12:17:51 CST

Original text of this message

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