well, it appears that this function is fast enough. However, it is not accurate enough for this purpose.
From SQL Books Online:Quote:
SOUNDEX converts an alpha string to a four-character code to find similar-sounding words or names. The first character of the code is the first character of character_expression and the second through fourth characters of the code are numbers. Vowels in character_expression are ignored unless they are the first letter of the string. String functions can be nested.
This would be great if I were creating a search engine which does not need to be exact. However, in the current situation two companies 'Ameritech' and 'Ameritrade' both have the same SOUNDEX code, and therefore would match. This will not work when creating a final report for a customer. It is to risky.
Anyway, it's a nice function. Well worth my 20 minutes playing with it.
Programmer's Corner - tutorials, articles, forums, and code for C++, SQL, .NET, java, and, web development
Visual Basic Explorer - support forums and source code for all your Visual Basic 6 needs!
the drop ship guide - The complete guide on how to get started with wholesale drop shipping.