If I could have that, OWS was ready to work on it ... The SQL involves 5 tables (with thousands of rows) and a dynamically generated SQL ... Unfortunately it was way too difficult to generate a simple reproducible test case, trust me I tried for 2.5 days ... But couldn't do it. Raj ------------------------------------------------------------------------ -------- Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. select standard_disclaimer from company_requirements; QOTD: Any clod can have facts, having an opinion is an art ! -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Niall Litchfield Sent: Wednesday, June 09, 2004 10:47 AM To: oracle-l@xxxxxxxxxxxxx Subject: Re: CBO irregularity Not *another* CURSOR_SHARING=SIMILAR|FORCE issue? I really don't want to hear that.. You don't happen to have a reproducible test case? -- Niall Litchfield Oracle DBA http://www.niall.litchfield.dial.pipex.com On Wed, 9 Jun 2004 10:20:39 -0400, Jamadagni, Rajendra <rajendra.jamadagni@xxxxxxxx> wrote: > > We have a specific sql which has decode statement with non-db values ... > It makes things go wring with CBO and returns wrong data. Using RBO or > cursor_sharing=exact resolves the problem ---------------------------------------------------------------- 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 -----------------------------------------------------------------