I have a table in my database where I have about 100k clients and with a erroneous system that was in place for quite some time we are just coming to find out that we might potentially have thousands of duplicate records, that should not have been duplicates.
This is the basic structure of the table...
ClientID FName LName DOB SysEMID
----------------------------------------------------------------------
123 Janette Marukan 1/2/1990 111111S
478 Jannete Maruckan 1/2/1990 111111S
These are not all fields in the system but what my goal is to be able to use the columns above in my search query. So I'm trying to take the first 2 or 3 letters of First and Last names, DOB as well as the SysEMID and find all records that could be potential duplicates.
As can be seen above in the table I have two clients, but their names are slightly different - in fact the two clients are both the same, but they are saved in the system as two. Is there a way for me to somehow query the whole tables and find that?
I really don't have 1 specific client in place - it's more of a general kind of query to show me potential duplicates of clients with the same 2 or 3 letters of 1st Name, Last Name and DOB for starters?