Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id CCD3A475E93 for ; Wed, 12 Jun 2002 21:07:16 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 0284F47510B for ; Wed, 12 Jun 2002 21:07:16 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1525717; Wed, 12 Jun 2002 18:07:15 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: "isaac flemmin" , Subject: Re: Case insensitive select Date: Wed, 12 Jun 2002 18:08:19 -0700 X-Mailer: KMail [version 1.4] References: <000001c21273$5cc3f3c0$ad463e04@ixic> In-Reply-To: <000001c21273$5cc3f3c0$ad463e04@ixic> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206121808.19116.josh@agliodbs.com> X-Archive-Number: 200206/158 X-Sequence-Number: 8123 Issac, > I am doing something wrong or it would be working. I really have no idea > how to do a case insensitive query other than with the lower function. > If there is anyone out there who has any ideas on how to help me or can > point me toward something that will help me it would be very > appreciated. There is also: SELECT * FROM test1 WHERE col1 ~* '^value'; or: SELECT * FROM test1 WHERE col1 ILIKE 'value'; See Operators and Functions in the online docs. --=20 -Josh Berkus