From: | Elie Nacache <elie_nacache(at)yahoo(dot)com> |
---|---|
To: | Vinay Jain <vinayjain(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: How to write soundex query in postgresql?? |
Date: | 2004-08-11 13:29:29 |
Message-ID: | 20040811132929.10981.qmail@web54107.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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');
see http://www.samspublishing.com/articles/article.asp?p=24691
Good luck
Elie Nacache
Vinay Jain <vinayjain(at)gmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Nick Barr | 2004-08-11 13:39:34 | POSIX RE starting with a ( |
Previous Message | Prabu Subroto | 2004-08-11 13:13:33 | the behaviour of timestamp on postgres. |