Thanks, KG No, CURSOR_SHARING is not set (meaning it defaults to EXACT on both 8i and 9i)
No bind variables. The query given with ... LIKE 'LOVE%' is the real one Yes, I can try setting _LIKE_WITH_BIND_AS_EQUALITY. One additional piece of info - we don't have OPTIMIZER_INDEX_* parameter set on eigher one (I should re-read Tim's excellent paper). It would probably be a safer bet to change "supported" parameters first (after understanding what is different in 9i that is), but I am not sure what effect it might have on the rest of the app. Cheers, Boris. --- K Gopalakrishnan <[EMAIL PROTECTED]> wrote: > By any chance are you using CURSOR_SHARING parameter > in your 8i version? > I think the default selectivity of 5% is used while > costing the like > operator and with the binds (and with an underscore > parameter which > I think defaults TRUE) it is treated as equality . > > If not you can set the underscore parameter > _like_with_bind_as_equality to get the index > costing. > > KG ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Boris Dali INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
