select a range of data

From: Jessica Richard <rjessil(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: select a range of data
Date: 2007-07-20 19:00:18
Message-ID: 497741.11791.qm@web56410.mail.re3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jon Sime 2007-07-20 19:19:13 Re: select a range of data
Previous Message Sibte Abbas 2007-07-20 18:54:55 Re: row level locking