Per writes "Hi SQLTeamI have searched for days now, both in BO, your forum and articles, google you name it... but have not found the solution yet and I am about to give up :-(My problem is that I have a list of 5000+ rows in a database, and there are rows that are almost duplicate values.The layout is ProductID and ProductName. In the ProductName it could be something likeFruity LoopsFruiti LoopsFruity Loops.Fruity loopfruity loop .I have created something that will show exact duplicates, but this is not what I want:SELECT A.ProductID,A.ProductName FROM Products A JOIN (SELECT ProductID, ProductName FROM Products GROUP BY ProductName,ProductID HAVING COUNT(*) > 1) B on A.ProductName = B.ProductName Order BY A.ProductName
I thought of using SOUNDEX, but I failed miserably trying to accomplish this...Hope you will give it a try."