Is it possible to perform T-SQL fuzzy lookup without SSIS?

ScottStonehouse picture ScottStonehouse · Oct 29, 2008 · Viewed 21.3k times · Source

SSIS 2005/2008 does fuzzy lookups and groupings. Is there a feature that does the same in T-SQL?

Answer

Ian Boyd picture Ian Boyd · Oct 29, 2008

SQL Server has a SOUNDEX() function:

SELECT * 
FROM Customers
WHERE SOUNDEX(Lastname) = SOUNDEX('Stonehouse')
AND SOUNDEX(Firstname) = SOUNDEX('Scott')