• I ran this:

    select

    soundex('Kelly'),

    soundex('Bentom'),

    soundex('Kelly'),

    soundex('Benton')

    And got this:

    K400B535K400B535

    Looks to me that your code is working.