The following query returns a result of 0 since the strings are the same. SELECT EDITDISTANCE('John Smith', 'John Smith');