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

Re: [INTERFACES] Case insensitive LIKE ?

From: Wim Ceulemans <wim(dot)ceulemans(at)nice(dot)be>
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 16:31:08
Message-ID: 381C6ECC.1A8992C3@nice.be (view raw or flat)
Thread:
Lists: pgsql-interfaces
The case insensitive equivalent in postgreSQL is:

	select ~* 'john'

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 ?
> 
> TIA,
> Constantin Teodorescu
> FLEX Consulting Braila, ROMANIA
> 
> ************

-- 
Wim Ceulemans
Nice bvba www.nice.be
Eglegemweg 3, 2811 Hombeek Belgium
Tel 0032-15-412953 Fax 0032-15-412954

In response to

Responses

pgsql-interfaces by date

Next:From: Moray McConnachieDate: 1999-10-31 17:01:49
Subject: Re: [INTERFACES] Case insensitive LIKE ?
Previous:From: D'Arcy J.M. CainDate: 1999-10-31 13:29:51
Subject: Re: [INTERFACES] Case insensitive LIKE ?

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