From: David Hartwig <daveh@insightdist.com>
To: Marcio Macedo <marciom@conectiva.com.br>
Cc: S.Ramaswamy <srswamy@giasdl01.vsnl.net.in>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] How to Make Case InSensitive???
Date: Tue, 01 Sep 1998 13:47:53 -0400
Message-ID: <35EC3349.FE4C20FC@insightdist.com> (raw)
References: <35EC1A87.A9943@giasdl01.vsnl.net.in>
<35EC1F0E.F300470F@insightdist.com>
<35EC0157.950EFE6D@conectiva.com.br>
Marcio Macedo wrote:
> Hey...
>
> How does this " ~* " operator works ?!?!?!
>
> David Hartwig wrote:
> >
> >
> > SELECT * FROM series WHERE upper(NAME) = 'INDIA'
> > or
> > SELECT * FROM series WHERE NAME ~* '^india$'
>
I don't use it myself, but it is a case insensitive regular expression
match operator. "~' is the case sensitive operator. Do "\do" in
psql to see all the operators.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: daveh@insightdist.com, marciom@conectiva.com.br, srswamy@giasdl01.vsnl.net.in
Subject: Re: [SQL] How to Make Case InSensitive???
In-Reply-To: <35EC3349.FE4C20FC@insightdist.com>
References: <35EC1A87.A9943@giasdl01.vsnl.net.in> <35EC1F0E.F300470F@insightdist.com> <35EC0157.950EFE6D@conectiva.com.br> <35EC3349.FE4C20FC@insightdist.com>
* 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