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: create index with lowercase

Re: create index with lowercase

From: Laly <laly.kattoor_at_bnpparibas.com>
Date: 30 Oct 2002 14:08:13 GMT
Message-ID: <20021030-15813-423147@foorum.com>

Hi,

Otherwise you can try this :
if you want to look for names beginning with A : select *
from my_table
where name like 'A%' or name like 'a%'

this will use index on name.
You can generalize : looking for names beginning with AA : where name like 'AA%' or name like 'Aa%' or name like 'aA%' or name like 'aa%' ..

HTH, Laly.

-- 
Use our news server 'news.foorum.com' from anywhere.
More details at: http://nnrpinfo.go.foorum.com/
Received on Wed Oct 30 2002 - 08:08:13 CST

Original text of this message

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