Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Case Insensitive Query Performance
You've exhausted all the possibilities. If the data's not stored in a
fixed-case manner, there's no way to do a fast case-insensitive search.
Dean Mah wrote:
>
> This must be a FAQ....
>
> I have a table with a surname field which is mixed case. I want to do a
> case insensitive search against this field. I have used the UPPER
> function to force both the surname and my search criteria to uppercase.
> Obviously, this results in poor performance.
>
> I have tried to create an index with UPPER(surname) which didn't work.
> I've tried to create a view with UPPER(surname) which didn't work. I
> don't want to create another field with the surname in uppercase because
> there are >400K records in the table and it is growing.
>
> Any hints, ideas, solutions, ... would be greatly appreciated.
> Dean
Received on Wed Apr 15 1998 - 17:00:12 CDT
![]() |
![]() |