LOCKS
########################################################### --- LOCKS ########################################################### Run the following query to construct a query that retrieves the row affected by the locked row. Obtain the SID of waiting session from the output of the preceding step. col SESSIONS format A20 SELECT DECODE(REQUEST,0,'Holder SID: ','Waiter SID: ') || SID SESSIONS, ID1, ID2, LMODE, REQUEST, TYPE FROM V$LOCK WHERE (ID1, ID2, TYPE) IN (SELECT ID1, ID2, TYPE FROM V$LOCK WHERE REQUEST > 0) ORDER BY ID1, REQUEST; SESSIONS ID1 ID2 LMODE REQUEST TY -------------------- ---------- ---------- ---------- ---------- -- Holder SID: 1 393233 ...