16.20 - return_opt - 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

A numeric argument.

Valid values are:

  • 0 = function returns the beginning position of the match (default).
  • 1 = function returns the end position (character following the occurrence) of the match.

If this syntax element is NULL, NULL is returned. If the syntax element is omitted, the default value (0) value is used.