From: Constantin Teodorescu <teo@flex.ro>
To: Hannu Krosing <hannu@tm.ee>
Cc: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] Case insensitive LIKE ?
Date: Sun, 31 Oct 1999 14:30:29 +0200
Message-ID: <381C3665.572E14EF@flex.ro> (raw)
References: <381C31A8.34A17B8E@flex.ro>
<381C37A3.EC9D5D4D@tm.ee>
Hannu Krosing wrote:
>
> Constantin Teodorescu wrote:
> >
> > Is there for PostgreSQL a modifier(parameter) that will make the LIKE
> > clause case insensitive ?
>
> Maybe
>
> select * from t where lower(name) like 'john%';
Yes, it may work, but probably lower(name) won't work on ODBC->MS Access
...
I would like to preserve also the SQL commands betwen versions and not
to fill my program with IF's ..
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: teo@flex.ro, hannu@tm.ee
Subject: Re: [INTERFACES] Case insensitive LIKE ?
In-Reply-To: <381C3665.572E14EF@flex.ro>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox