Compare strings which resembles each other

From: Gulshan Babajee <gulshan(dot)babajee(at)parabolemaurice(dot)com>
To: "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: Compare strings which resembles each other
Date: 2003-11-14 05:30:27
Message-ID: 94BCF3512BFBD711B79D004005420B1F0863DD@PMSERVER
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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jim Drummey 2003-11-14 17:02:48 Substrings by Regular Expression
Previous Message Bruno Wolff III 2003-11-14 05:11:53 Re: Need Help