From: Jon Hassen <jhassen@azstarnet.com>
To: arun kv <arun@library.iisc.ernet.in>
To: PGSQL <pgsql-php@postgresql.org>
Subject: Re: case insensitive search
Date: Fri, 15 Mar 2002 10:36:41 -0700
Message-ID: <l03130300b8b7e173dd3f@[169.197.62.6]> (raw)
In-Reply-To: <Pine.BSO.4.21.0203151157060.4985-100000@library.iisc.ernet.in>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: jhassen@azstarnet.com, arun@library.iisc.ernet.in
Subject: Re: case insensitive search
In-Reply-To: <l03130300b8b7e173dd3f@[169.197.62.6]>
References: <Pine.BSO.4.21.0203151157060.4985-100000@library.iisc.ernet.in> <l03130300b8b7e173dd3f@[169.197.62.6]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox