POSITION Function | VantageCloud Lake - POSITION - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

Returns the position in string_expression_2 where string_expression_1 starts.

To activate and invoke embedded services functions, see Embedded Services System Functions.

ANSI Compliance

This statement is ANSI SQL:2011 compliant.

Use POSITION instead of INDEX for ANSI SQL:2011 conformance. POSITION and INDEX behave identically except when the client character set is KanjiEBCDIC and the server character for an argument is KANJI1 and contains multibyte characters.

Use POSITION instead of MINDEX. (MINDEX no longer appears in this book because its use is deprecated. Its support ends when KANJI1 support ends.)