sql server - Soundex and checking for invalid sound -


is ok check sql returning soundex of 0000 based on assumption isn't valid word, e.g. has digits, spaces, special characters or there better way this?

i don't think soundex that, think soundex() function omit digits, spaces , symbol, example:

select soundex("hello") select soundex("_hel123o_") 

both give same result.

h400 

besides soundex() has limitation in way works.

you can take @ levenshtein distance, determines number of operations have make 1 string another. can find implementation here.

hth


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -