Re: select .. like ignore case

From: Marcin Gil <marcin(dot)gil(at)audax(dot)com(dot)pl>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: select .. like ignore case
Date: 2003-12-19 09:30:03
Message-ID: 3FE2C51B.2000006@audax.com.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

MaFa wrote:

> select * from customers where upper(name) like '%JOHN%'
Thanks. I found that >>select * from documents where body ~ some_text'<<
also gives good results. I am only concerned about its effectiveness.

> **Full-text indexing is a whole other thing...
I've looked quite a bit at tsearch2.. too complicated for me for now.

--
Marcin Gil
marcin.gil @ audax.com.pl, tel. 694972082
OIS Audax Sp. z o.o., ul. Barlickiego 4, 97-200 Tomaszów Mazowiecki
tel/fax (44) 7247530, 7244401

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Marcin Gil 2003-12-19 09:59:25 Re: select .. like ignore case
Previous Message Patrice Durosay 2003-12-19 09:23:12 Re: Can't create lock file /tmp/.s.PGSQL.5432.lock