Re: How to write soundex query in postgresql?? - Mailing list pgsql-general

From Elie Nacache
Subject Re: How to write soundex query in postgresql??
Date
Msg-id 20040811132929.10981.qmail@web54107.mail.yahoo.com
Whole thread Raw
In response to How to write soundex query in postgresql??  (Vinay Jain <vinayjain@gmail.com>)
List pgsql-general
Hi Vinary,
 
One way to implement tolerant search algorithms is to use the soundex algorithm for PostgreSQL, which can be found in the contributed directory of the PostgreSQL source tree.
 
try SELECT * FROM student WHERE soundex(name)=soundex('vinay');
 
 
Good luck
Elie Nacache

Vinay Jain <vinayjain@gmail.com> wrote:
Hi
I want to write soundex query for example:
select * from student where name soundex 'vinay';
In psql it gives error at soundex.
Regards
Vinay
--
Vinay Jain
Dissertation Project Trainee
DAKE Division
C-DAC Mumbai

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.

pgsql-general by date:

Previous
From: Prabu Subroto
Date:
Subject: the behaviour of timestamp on postgres.
Next
From: Nick Barr
Date:
Subject: POSIX RE starting with a (