16.20 - EDITDISTANCE - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1145-162K
Language
English (United States)

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.