I've been looking up code and how it works and etc etc etc and Juan = Jaime isn't all that bad.
Soundex takes the word and converts it to a 4 character string representation. The first letter will stay the same and then the other 3 letters represent the word without vowels. Example, my name (Matt) would be changed to MTT and you'd get a representation of M### (don't know what it is).
Obviously this can create problems. That's where Difference comes in. Difference will return a number (1 through 4, 4 being the closest match) pertaining to how close the 2 words are. Juan = Jaime would probably be a 1 or it matches but not well. If I spelled my name wrong and typed Mattt or Mett then Matt = Mett/Mattt would return a higher Difference value.
- LB
I posted this more for people who could search for this topic later. Hope it helps someone somewhere.
Case in point, I used the sounds like in SAS to join 20k records to 1.2 million records. It took 10 hours. When I used =, it took 20 seconds
And, yeah, I'm not sure the corporation would be happy with me slowing their servers to a crawl. Thanks for the reply