Re: [GENERAL] select LIKE

From: Kevin Heflin <kheflin(at)shreve(dot)net>
To: David Hartwig <daybee(at)bellatlantic(dot)net>
Cc: "PGSQL-General (E-mail)" <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] select LIKE
Date: 1998-09-04 03:38:14
Message-ID: Pine.LNX.4.02.9809032236150.11590-100000@mercury.shreve.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 3 Sep 1998, David Hartwig wrote:

> > First question: is there a way to do this that is NOT case sensitive?>
> Use the case insensitive regular expression operator.
> select * from rolodex where name ~* '.*$name.*'

Thanks! that solved both my problems.

Is this regular SQL or something more specific to PostgreSQL ?

The SQL book I looked through didn't show anything like this ~*

Kevin

--------------------------------------------------------------------
Kevin Heflin | ShreveNet, Inc. | Ph:318.222.2638 x103
VP/Mac Tech | 333 Texas St #619 | FAX:318.221.6612
kheflin(at)shreve(dot)net | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Ivar Helbekkmo 1998-09-04 07:46:30 CIDR/IP types. Was: [GENERAL] big numbers
Previous Message David Hartwig 1998-09-04 03:31:26 Re: [GENERAL] select LIKE