NGRAM Function Syntax | Teradata Vantage - 17.10 - NGRAM Function Syntax - Advanced SQL Engine - Teradata Database

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

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1145-171K
Language
English (United States)
[TD_SYSFNLIB.] NGRAM ( string1, string2, length [, position ] )

Syntax Elements

TD_SYSFNLIB.
Name of the database where the function is located.
string1
A character string or string expression.
If string1 is NULL, NULL is returned.
string2
A character string or string expression.
If string2 is NULL, NULL is returned.
length
The value ninn-gram, which is the comparison length.
position
Specifies that the n-gram is a positional n-gram match.