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

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.