Re: [GENERAL] case-insensitive like operator

From: David Warnock <david(at)sundayta(dot)co(dot)uk>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] case-insensitive like operator
Date: 2000-01-12 11:48:00
Message-ID: 387C69F0.BBE21314@sundayta.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yura,

As you have no control over the queries generated by MS Access I guess
you need to create extra columns which hold the uppercase version of the
data. Then to search use these columns and uppercase the data you are
searching for

eg if you have a column name then add a new column name_upper, change
your data entry to always put upper(name) into name_upper

Your search should be where name_upper like "UPPERCASED VALUE"

Dave

yura wrote:
>
> Hello All,
>
> I have a following problem:
>
> We have ported MS Acess database to PostgreSQL. Everything ok, but our
> user are used to search data in tables using filters, and Access does
> case insensitive search, but when working with Postgres database it
> converts filters into queries with 'like' operator. So is there any
> way to make 'like' operator case insensitive? Or maybe somebody has
> the same problems and knows the solution?
>
> Best regards,
> Yury mailto:yura(at)vpcit(dot)ru
>
> ************

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message yura 2000-01-12 12:34:34 Re[2]: [GENERAL] case-insensitive like operator
Previous Message Shadkam Islam 2000-01-12 11:41:20 Re: [GENERAL] case-insensitive like operator