From: Hannu Krosing <hannu@tm.ee>
To: Constantin Teodorescu <teo@flex.ro>
Cc: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] Case insensitive LIKE ?
Date: Sun, 31 Oct 1999 12:35:47 +0000
Message-ID: <381C37A3.EC9D5D4D@tm.ee> (raw)
References: <381C31A8.34A17B8E@flex.ro>
Constantin Teodorescu wrote:
>
> I'm writing an application that should work with PostgreSQL server on
> Linux and ODBC-MS Access on Windows.
>
> I'm using the TclODBC package that works just fine.
>
> Under Windows, with ODBC->MS Access , the select LIKE 'john%' works case
> insensitive!
> Under Linux with PostgreSQL 6.5.2 , the LIKE clause is case sensitive!
>
> Is there for PostgreSQL a modifier(parameter) that will make the LIKE
> clause case insensitive ?
Maybe
select * from t where lower(name) like 'john%';
------------
Hannu
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: hannu@tm.ee, teo@flex.ro
Subject: Re: [INTERFACES] Case insensitive LIKE ?
In-Reply-To: <381C37A3.EC9D5D4D@tm.ee>
* 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