Re: Compare strings which resembles each other

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: gulshan(dot)babajee(at)parabolemaurice(dot)com (Gulshan Babajee)
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Compare strings which resembles each other
Date: 2003-11-21 15:22:57
Message-ID: 200311211422.PAA13790@rodos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> Hy, I have a table containing some rows. Each row contains a field name
> which is of type String.
>
> For example:
> in row1 string1 is "Adieu Poulet",
> in row2 string2 is "Adieu a Poulet",
> in row3 string3 is "Adiue Poulet",
> in row4 string4 is "Adieu Pouleet", etc..
> (That is each string resembles each other a bit, they are somewhat similar
> to each other)
>
> What type of query should I make so as it return me all these string. That
> is I watn a query which return me strings which are similar or somewhat
> similar to each other.
>
> thanks in advance
> gulshan
>
$PGSQLD/contrib/tsearch/README.tsearch
is your friend.

Regards, Christoph

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dmitri Bichko 2003-11-21 16:38:16 OFFSET and subselects
Previous Message Oleg Bartunov 2003-11-21 14:32:37 Re: Compare strings which resembles each other