Re: case insensitive search

From: "tjk(at)tksoft(dot)com" <tjk(at)tksoft(dot)com>
To: jomu(at)uni-paderborn(dot)de
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: case insensitive search
Date: 2000-07-03 06:58:39
Message-ID: 200007030658.XAA15921@uno.tksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Joern,
select myfield from tablea where lower(myfield) = 'mysearch';
or
select myfield from tablea where myfield ~* 'mysearch';

Troy

>
> Hello together,
>
> how can I handle case insensitive search in a table?
>
>
>
> --
> Linux is like wigwam - no windows, no gates, apache inside.
> In diesem Sinne
> Joern
>
>
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Gerhard Dieringer 2000-07-03 07:42:54 Antw: plpgsql function gets wierd with Null parameters
Previous Message Tom Lane 2000-07-02 16:38:47 Re: Query about using arrays (for accessing pg_group)