pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PM <pmeloy@home.negate.spam.com>
To: pgsql-sql@postgresql.org
Subject: Re: Search
Date: Tue, 6 Feb 2001 05:28:40 -0800
Message-ID: <95otrr$hjg$1@news.tht.net> (raw)
References: <95n58g$5fa$1@news.tht.net>

force lower case or use the non case-senstitive search e.g.

lower(column) LIKE lower('%$suchbegriffe[$i]%')

or

column ~* '$suchbegriffe[$i]'
(no need for wildcards when using ~* it assumes %value%)



"Sebastian --[ www.flashhilfe.de ]--" <hallogammler@aol.com> wrote in
message news:95n58g$5fa$1@news.tht.net...
> Hi
>
> I hope someone can help me....
>
> My problem:
>
> I have make a search machine whit:
>
> LIKE '%$suchbegriffe[$i]%'
>
> but when I search Test - the search machine shows only entries
> whit Test. But not test or tESt.
>
> (sorry for my bad english)
>
> Regards, Sebastian
>
>





view thread (5+ messages)  latest in thread

Message-ID: <95otrr$hjg$1@news.tht.net>
Permalink:  ../95otrr$hjg$1@news.tht.net/
Also on:    postgresql.org/message-id/95otrr$hjg$1@news.tht.net

 · 

reply

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-sql@postgresql.org
  Cc: pmeloy@home.negate.spam.com
  Subject: Re: Search
  In-Reply-To: <95otrr$hjg$1@news.tht.net>
  References: <95n58g$5fa$1@news.tht.net> <95otrr$hjg$1@news.tht.net>

* 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