Received: from cepheus.azstarnet.com (cepheus.azstarnet.com [169.197.56.195]) by postgresql.org (Postfix) with ESMTP id C99B1476412 for ; Fri, 15 Mar 2002 12:36:50 -0500 (EST) Received: from [169.197.62.6] ([169.197.62.6]) by cepheus.azstarnet.com (8.9.3/8.9.3) with ESMTP id KAA29359; Fri, 15 Mar 2002 10:36:40 -0700 (MST) X-Sent-via: StarNet http://www.azstarnet.com/ X-Sender: jhassen@pop.azstarnet.com Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 15 Mar 2002 10:36:41 -0700 To: arun kv , PGSQL From: Jon Hassen Subject: Re: case insensitive search X-Archive-Number: 200203/31 X-Sequence-Number: 1000 Have you looked in the manual? Try: 'where ILIKE 'searchword'; At 12:01 PM +0530 3/15/02, arun kv wrote: >hello, > how to do a case insensitive search on postgresql database. i will >enter a keyword in text field and it has to search for that keyword in >keywords field of table and should be case insensitive. > >can i use egrei() function. if so how.here two attributes should be >strings. but first attribute i will get from previous php page and second >attribute is field name of database table. how do i do this. > pls help me > thanking you > Arun > > >---------------------------(end of broadcast)--------------------------- >TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org