The following query returns a result of 9. SELECT EDITDISTANCE('Jim D. Swain', 'John Smith', 2, 1, 1, 2);