Re: case insensitive searches
From: Richard Avery <richard_avery_at_nt.com>
Date: 1995/08/07
Message-ID: <richard_avery-070895143645_at_nnsgm25.lon40.nt.com>#1/1
Date: 1995/08/07
Message-ID: <richard_avery-070895143645_at_nnsgm25.lon40.nt.com>#1/1
In article <3ujekn$319_at_news.cais.com>, randyd_at_cais2.cais.com (Randy Dewoolfson) wrote:
> Anthony Sama (asama_at_netaxs.com) wrote:
>
> : What's the best way to specify case insensivity in a WHERE
> : clause?
>
> To match strings withou regard to case you might try
> WHERE UPPER( string1) = UPPER( string2 )
> or the LOWER equivalent..
>
[SNIP]
You may want to bear in mind that the upper function negates the use of any
index on a column! One way round this would be to force the entry of the
field to upper case, or where this is not appropriate you could denormalise
another column into the table holding the same value in upper case for
query purposes.
Richard Avery
-- The above posting does not represent the views of Nortel in any way.Received on Mon Aug 07 1995 - 00:00:00 CEST