pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jessica Richard <rjessil@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: select a range of data
Date: Fri, 20 Jul 2007 12:00:18 -0700 (PDT)
Message-ID: <497741.11791.qm@web56410.mail.re3.yahoo.com> (raw)

If I have a column with a value like "abc2457", "efg1234",

how do I select col from table where col like 'a[a-z]c24[0-9]7"?

How do I handle the range bracket in the query?

Thanks.

       
---------------------------------
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

view thread (3+ messages)  latest in thread

Message-ID: <497741.11791.qm@web56410.mail.re3.yahoo.com>
Permalink:  ../497741.11791.qm@web56410.mail.re3.yahoo.com/
Also on:    postgresql.org/message-id/497741.11791.qm@web56410.mail.re3.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: rjessil@yahoo.com
  Subject: Re: select a range of data
  In-Reply-To: <497741.11791.qm@web56410.mail.re3.yahoo.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