similarity between strings - sql server 2005

Posted by csetzkorn on Stack Overflow See other posts from Stack Overflow or by csetzkorn
Published on 2010-04-12T11:46:48Z Indexed on 2010/04/12 11:53 UTC
Read the original article Hit count: 388

Filed under:
|
|
|

Hi,

I am looking for a simple way (UDF?) to establish the similarity between strings. The SOUNDEX and DIFFERENCE function do not seem to do the job.

Similarity should be based on number of characters in common (order matters).

For example:

Spiruroidea sp. AM-2008

and

Spiruroidea gen. sp. AM-2008

should be recognised as similar.

Any pointers would be very much appreciated.

Thanks.

Christian

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server-2005