Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.1/8.9.1) with ESMTP id LAA28727 for ; Sun, 10 Jan 1999 11:44:21 -0500 (EST) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id LAA27961; Sun, 10 Jan 1999 11:43:55 -0500 (EST) From: Bruce Momjian Message-Id: <199901101643.LAA27961@candle.pha.pa.us> Subject: Re: [SQL] SELECT... BETWEEN 'P' and 'Z' In-Reply-To: <005c01be3ca4$2abb3e90$61246ccf@timnt.desm.uswest.net> from "Tim Perdue, The Des Moines City.net" at "Jan 10, 1999 8:18:59 am" To: tim@dmcity.net Date: Sun, 10 Jan 1999 11:43:55 -0500 (EST) Cc: pgsql-sql@hub.org X-Mailer: ELM [version 2.4ME+ PL47 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit [Charset iso-8859-1 unsupported, filtering to ASCII...] > I was using a "text" field, not varchar, but I suppose it treats it the > same? And I don't believe there are any significant spaces in the City > names. > > The city that it leaves of out the "Between 'P' and 'Z'" are Zwingle. > > And it includes "Zwingle" when I do the "between 'P' and 'z'" query. Zwingle is greater than 'Z'. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026