LEVENSHTEIN
Computes the Levenshtein distance of the two given character expressions.
Syntax
LEVENSHTEIN ( expression1, expression2 )
Arguments
expression1
Is a character expression.
expression2
Is a character expression.
Return types
int
Examples
SELECT LEVENSTHEIN('kitten', 'sitting'); -- Returns 3