Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] Case insensitive LIKE ?

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Constantin Teodorescu <teo(at)flex(dot)ro>
Cc: PostgreSQL Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [INTERFACES] Case insensitive LIKE ?
Date: 1999-10-31 12:35:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
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 ?


 select * from t where lower(name) like 'john%';


In response to


pgsql-interfaces by date

Next:From: Hannu KrosingDate: 1999-10-31 12:54:32
Subject: Re: [INTERFACES] Case insensitive LIKE ?
Previous:From: Constantin TeodorescuDate: 1999-10-31 12:30:29
Subject: Re: [INTERFACES] Case insensitive LIKE ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group