pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Barracuda <cuda_fx@yahoo.com>
To: Marcio Macedo <marciom@conectiva.com.br>
To: David Hartwig <daveh@insightdist.com>
Cc: pgsql-sql@postgreSQL.org, "S.Ramaswamy" <srswamy@giasdl01.vsnl.net.in>
Subject: Re: [SQL] How to Make Case InSensitive???
Date: Wed, 16 Sep 1998 06:48:10 -0700 (PDT)
Message-ID: <19980916134810.21155.rocketmail@send101.yahoomail.com> (raw)

thank you for this tip!  don't know what the ^ or the $ is used for
but the ~* and the \do helped me out a great deal.  No info on this in
any documentation.

Charles




---David Hartwig <daveh@insightdist.com> wrote:
>
> 
> 
> 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.
> 
> 
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com




view thread (11+ messages)  latest in thread

Message-ID: <19980916134810.21155.rocketmail@send101.yahoomail.com>
Permalink:  ../19980916134810.21155.rocketmail@send101.yahoomail.com/
Also on:    postgresql.org/message-id/19980916134810.21155.rocketmail@send101.yahoomail.com

 · 

reply

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: cuda_fx@yahoo.com, marciom@conectiva.com.br, daveh@insightdist.com, srswamy@giasdl01.vsnl.net.in
  Subject: Re: [SQL] How to Make Case InSensitive???
  In-Reply-To: <19980916134810.21155.rocketmail@send101.yahoomail.com>
  References: <19980916134810.21155.rocketmail@send101.yahoomail.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