Re: Upper and Lower case sensitivities

From: Steve Heaven <steve(at)thornet(dot)co(dot)uk>
To: "Campbell, Scott" <scampbell1(at)mtt(dot)ca>, "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Upper and Lower case sensitivities
Date: 2000-08-30 12:43:31
Message-ID: 3.0.1.32.20000830134331.00e17a6c@mail.thornet.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 09:20 30/08/00 -0300, Campbell, Scott wrote:
>Hey,
>
>Is there a function within postgres that lets you search for both upper and
>lower case at the same time?
>I know of the upper() and lower() functions but if a word has both upper and
>lower case in it it won't be returned by a query.
>Or am I limited to forcing my data to have one case only?

select * from foo while column_name ~* 'matchstring';

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adam Lang 2000-08-30 13:19:39 Re: foreign keys - script
Previous Message Campbell, Scott 2000-08-30 12:20:27 Upper and Lower case sensitivities