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

Home -> Community -> Usenet -> c.d.o.server -> Re: Index on partial field?

Re: Index on partial field?

From: Roger Wernersson <roger.wernersson_at_adra.se>
Date: 1997/01/30
Message-ID: <32F06F50.351C@adra.se>#1/1

Barbara Hiles wrote:
>
> Is it possible to create an index using part of a field?
> For example: 9 character ssn.
> I need an index on last 4 first 5.
> Can I do this if I've defined a 9 char ssn field? (and if so - how? substr?)
>
> tia - barb.

I would break the column into several separate columns and then create a view where I joined the separate columns into one big. The view would present both the separate values and the concatenated one. FWIW :-)

-- 
Sport radio: people listening to people watching people having fun
Mailto:roger.wernersson_at_adra.se
BTW: All opinions are mine, all mine, and nobody's but mine.
Received on Thu Jan 30 1997 - 00:00:00 CST

Original text of this message

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