Skip site navigation (1) Skip section navigation (2)

SELECT of a glob

From: Lan Barnes <lan(at)falleagle(dot)net>
To: Postgres Newbie <pgsql-novice(at)postgresql(dot)org>
Subject: SELECT of a glob
Date: 2006-04-11 16:51:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
I'm searching my many SQL books, but this eludes me, and I was sure
there was a syntax for it. I want to send out a select statement that
finds every string in a field that is essentially larger than (or
smaller than) a globbed string.

This "... where version_label >= BLD_1*" would return:


But not:


For some reason the keyword "LIKE" is rattling around in my head, but I
can't find any support for this. Do I have to do this programatically?

Lan Barnes                    lan(at)falleagle(dot)net
Linux Guy, SCM Specialist     858-354-0616
Tcl/Tk Enthusiast 


pgsql-novice by date

Next:From: Luis SilvaDate: 2006-04-11 17:12:32
Subject: transaction identifier
Previous:From: Bruno Wolff IIIDate: 2006-04-11 16:42:45
Subject: Re: advice on setting up schema sought

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group