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: When curosr_Sharing=force how to find the original statement

Re: When curosr_Sharing=force how to find the original statement

From: DA Morgan <damorgan_at_psoug.org>
Date: Wed, 30 May 2007 08:31:36 -0700
Message-ID: <1180539094.721292@bubbleator.drizzle.com>


zigzagdna_at_yahoo.com wrote:
> I am supporting a ERP application, do not have access to source code.
> crsor_sharing is set to force so when I look in v$sql etc it shows me
> the statement with various bind varaiables. Is there any way to find
> the original query before Oracle replaced literals by bind variables.
>
> Thanks.

select view_name from dba_views
where view_name like '%BIND%';

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Wed May 30 2007 - 10:31:36 CDT

Original text of this message

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