Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: function index concepts - urgh
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
![]() |
![]() |