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, however these workarounds are unacceptable to us. 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 Robyn Sent: Wednesday, June 09, 2004 10:09 AM To: oracle-l@xxxxxxxxxxxxx Subject: RE: CBO irregularity Raj, Can you provide more info on the decode issues you saw? Robyn On Wed, 9 Jun 2004, Jamadagni, Rajendra wrote: > We hit an issue on decode providing wrong results in 9205... So we are > testing 9204 instead. > > Raj > ---------------------------------------------------------------- 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 -----------------------------------------------------------------