LOCATE

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

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

Purpose

Returns the position of the first occurrence of string_expr1 within string_expr2. The search for the first occurrence of string_expr1 begins with the first character position in string_expr2 unless the optional argument, n1, is specified.

Syntax