Sure, I can write a function for it in Python or something…but how can I do it in MYSQL?
WHERE title = "heart of darkness" more or less 3 characters...
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A similar issue was discussed in this SO question, and here’s a link from the accepted answer that presents a computation of Levenshtein distance in MYSQL.
Personally, however, I would avoid the stored-procedure approach and just implement it in the driving language (be it Python, PHP or whatever you use to interface the DB).