Hello.
Probably, yes. Have a look here: http://dev.mysql.com/doc/refman/5.0/en/stored-procedures.html http://dev.mysql.com/doc/refman/5.0/en/adding-functions.html Horst Jäger wrote: > > Hi, > > I have a nice little code snippet in pseudocode, which calculates the > levenshtein-distance between 2 words. > > Is it possible to implement that code in mysql like in > > "select word1,word2 from myTable order by dist(word1,word2 )" > > where dist is the function mentionend above which takes 2 strings and > returns an int? > > Weird question??? :) > > Thanks > > Horst > > -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]