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: get the sql producing lock

Re: get the sql producing lock

From: <cnwy_at_263.net>
Date: 20 Mar 2006 17:17:14 -0800
Message-ID: <1142903834.009713.186080@e56g2000cwe.googlegroups.com>


Thanks,
  I have tried v$open_cursor but can't get all sqls for that transaction which locks the table.
  eg.

  1. select * from emp where enpno = 'xxx' for update; #lock the table
  2. select .... #other sql
  3. select .... #other sql before the transaction commit or rollback,I tried v$open_curosr,v$session but fail to get the first sql and even the second.

wy. Received on Mon Mar 20 2006 - 19:17:14 CST

Original text of this message

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