Mega Code Archive

 
Categories / MSSQL Tutorial / String Functions
 

DIFFERENCE() is a wrapper around two SOUNDEX()

It simplifies the comparison, reducing the result to a scale  from 0 to 4,  where the value 4 indicates a very close or exact match. 4> 5> SELECT DIFFERENCE('To', 'Two') 6> GO -----------           4 (1 rows affected)