Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Query with 'LIKE' comparison questions
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
![]() |
![]() |