
Originally Posted by
rpeare
I would approach this problem with code rather than a series of queries, particularly if this is just an attempt to get a list of unique clients across all three sources. I would be cautious about using just the patient name though, maybe the first three characters of the first and last name plus the date of birth might be a better match, particularly if there's no social security number or other unique identifier across all three systems. Can you describe what you're currently doing a bit better, are you accumulating all records into a single table with a field indicating the facility? Have you got a sample database you could provide with some garbage data in it that would duplicate what you're talking about (rather than me having to recreate something).