Join V$LOCKED_OBJECT, V$SESSION and V$SQL Regards Naveen >-----Original Message----- >From: Arvind Kumar [mailto:arvindk@xxxxxxxxxxxxxxx] >Sent: Friday, February 13, 2004 1:09 PM >To: oracle-l@xxxxxxxxxxxxx >Subject: Locks > > >Hi all, > how can I find the SQL statements which has caused object >locking in >database. I can find the >locked object and user which has locked the object but what was the SQL >Statement user passed to the database . > > >Thanks > >Arvind >---------------------------------------------------------------- >Please see the official ORACLE-L FAQ: http://www.orafaq.com >---------------------------------------------------------------- >To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx >put 'unsubscribe' in the subject line. >-- >Archives are at //www.freelists.org/archives/oracle-l/ >FAQ is at //www.freelists.org/help/fom-serve/cache/1.html >----------------------------------------------------------------- > ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------