Hello all. We have a huge personnel database that needs to be checked for integrity and cleaned up. One table lists all employees, including Emp-ID, Emp-Acct, FName, LName, MName, Addr, City, St, Zip. First question is how can I make sure there are no duplicate Emp-ID's in the table? Second question is how can I make sure no person has more than one Emp-ID? Here are some parameters:
1) I would expect that no one is using an alias so there is only one LName per person.
2) FName, however, can vary for any person (e.g., Thomas, Tom), so a person could have two or more Emp-ID's, each under a different FName.
3) There could be more than one person with same FName and LName in any zip code, but probably not on same street.
Complicated but hope to get some help with this. Thanks.
1) I would expect that no one is using an alias so there is only one LName per person.
2) FName, however, can vary for any person (e.g., Thomas, Tom), so a person could have two or more Emp-ID's, each under a different FName.
3) There could be more than one person with same FName and LName in any zip code, but probably not on same street.
Complicated but hope to get some help with this. Thanks.