Duplicate/Similar Records Search
What I need to create is a query that will find duplicates with a bit of a twist. The field to search on is a string field, so one record may say:
"A Science Journal" and a second "Science Journal" a third "An Science Journal" or "The Science Journal".
I'd like to find a way to run a loop with a like or contains statement in a query to help limit the results to check. Currently there are about 40K titles to search and I need to find a way to seriously reduce the number to be checked.
Any help is greatly appreciated.
Edit:
So for example can this query be modified to use a like statement?
I've tried modifying it with a like but I get an error stating that the query can only return one result.
What I need to create is a query that will find duplicates with a bit of a twist. The field to search on is a string field, so one record may say:
"A Science Journal" and a second "Science Journal" a third "An Science Journal" or "The Science Journal".
I'd like to find a way to run a loop with a like or contains statement in a query to help limit the results to check. Currently there are about 40K titles to search and I need to find a way to seriously reduce the number to be checked.
Any help is greatly appreciated.
Edit:
So for example can this query be modified to use a like statement?
Code:
SELECT tblCitationTitles.[CitationTitle], tblCitationTitles.[CitationTitleID]
FROM tblCitationTitles
WHERE (((tblCitationTitles.[CitationTitle]) In (SELECT [CitationTitle] FROM [tblCitationTitles] As Tmp GROUP BY [CitationTitle] HAVING Count(*)>1 )))
ORDER BY tblCitationTitles.[CitationTitle];
Last edited: