DIFFERENCE(string_exp1, string_exp2)

Returns an integer value that indicates the difference between the values returned by the SOUNDEX function for string_exp1 and string_exp2.

 

Example:

SELECT DIFFERENCE('ABC','DEF') returns -2026 (the difference between the values returned by the SOUNDEX function)