16.20 - EDITDISTANCE - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ SQL Functions, Expressions, and Predicates

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

Purpose

Returns the minimum number of edit operations (insertions, deletions, substitutions and transpositions) required to transform string1 into string2.

Syntax



TD_SYSFNLIB.
Name of the database where the function is located.
string1
A character string or string expression.
string2
A character string or string expression.
ci
This syntax element cannot be a negative value.
If not specified, a default value of 1 is used.
cd
This syntax element cannot be a negative value.
If not specified, a default value of 1 is used.
cs
This syntax element cannot be a negative value.
If not specified, a default value of 1 is used.
ct
This syntax element cannot be a negative value.
If not specified, a default value of 1 is used.