Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Query with 'LIKE' comparison questions

Re: Query with 'LIKE' comparison questions

From: sim <jmenker_at_muenster.de>
Date: 12 Oct 2005 00:23:15 -0700
Message-ID: <1129101795.719936.21670@o13g2000cwo.googlegroups.com>


Hi Pete!

The leading '%' prevents the usage of an index. I'm not sure if that's also true for a bitmap index. Therefore if you have the proper privileges you could create a bitmap index on acct_num. You can also try to use ltrim(acct_num,'0') and see if this is faster then using like.

Jörg Received on Wed Oct 12 2005 - 02:23:15 CDT

Original text of this message

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