Re: [GENERAL] select LIKE

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

Kevin Heflin wrote:

> 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 ~*
>

This is what happens when you put SQL source code in the hand of a bunch of
Unix hacks. I am mot aware of this operator in any other dialect of SQL.

BTW, do a "\do" in psql to get a list of operators. You may see a few that
may be interesting.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Heflin 1998-09-04 03:38:14 Re: [GENERAL] select LIKE
Previous Message Bruce Momjian 1998-09-04 01:02:21 Re: [GENERAL] big numbers