Re: Finding username of row level lock holder on 7.2
From: Sridhar Subramaniam <avion_at_ozemail.com.au>
Date: 1996/11/18
Message-ID: <32903566.4131_at_ozemail.com.au>#1/1
Date: 1996/11/18
Message-ID: <32903566.4131_at_ozemail.com.au>#1/1
rickhens_at_aol.com wrote:
>
> Does anyone know of a method of identifying the username of the holder of
> a row lock ? None of the V$ tables seem to contain the needed information
> to determine this. We are running version 7.2.
>
> Thanks in advance,
>
> Rick Hensley
Rick,
select s.* from v$lock l, v$session s
where s.sid = l.sid
and l.lmode in ( 'TX','RX' ) -- check for the DBA manuals for the
different values of lock modes.
-- Cheers Sridhar Subramaniam Avion Consulting Services Sydney - Australia Email : avion_at_ozemail.com.au Disclaimer : All opinions are truly and just mine.Received on Mon Nov 18 1996 - 00:00:00 CET