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: NULLS FIRST option in CREATE INDEX?

Re: NULLS FIRST option in CREATE INDEX?

From: Brian Peasland <oracle_dba_at_remove_spam.peasland.com>
Date: Tue, 17 Jun 2003 17:20:02 GMT
Message-ID: <3EEF4DC2.EE90185D@remove_spam.peasland.com>


Provided COL2 can never contain 'AAA'. But what happens if requirements change in the future and 'AAA' is an allowable value?

Cheers,
Brian

Jan wrote:
>
> Look for Function-Based Index,
>
> you can do something like:
>
> create index my_index on my_table(col1,NVL(col2,'AAA'));
>
> Jan

-- 
===================================================================

Brian Peasland
oracle_dba_at_remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
 the three"
Received on Tue Jun 17 2003 - 12:20:02 CDT

Original text of this message

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