POSITION
Find position of substring.
Category: String Functions
Syntax
POSITION(needle IN haystack)
Arguments
- needle
varcharSubstring to search for. - haystack
varcharString to search within.
Returns
integer — Returns the computed result as integer.
Usage Notes
Canonical SQL-92 form is POSITION(needle IN haystack). Opteryx also accepts POSITION(needle, haystack).