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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: function index concepts - urgh

Re: function index concepts - urgh

From: <jkstill_at_cybcon.com>
Date: Sat, 10 Mar 2001 11:45:32 -0800
Message-ID: <F001.002C8FCF.20010310112521@fatcity.com>

Dennis,

This should do it.

select * from holder
where last_name = upper('Taylor')
and first_name = upper('Dennis');

And no it's not Friday, it is now Saturday. ;)

Jared

On Fri, 9 Mar 2001, Dennis Taylor wrote:

> create index HOLDER_NAME_IDX on HOLDER (UPPER(LAST_NAME||' '||FIRST_NAME));
>
>
> insert into holder (last_name,first_name) values ('taylor','dennis');
>
>
> select * from holder where last_name = 'Taylor' and first_name =
> 'Dennis';
>
>
> is that going to use the index? Or do I have to torque the select
> statement a little more? Or is there a better way to set up the index? Or
> is the problem just that it's friday? or maybe Friday?

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: jkstill_at_cybcon.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sat Mar 10 2001 - 13:45:32 CST

Original text of this message

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