Example: Querying for Entree with 1 Occurrence

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

The following query:

SELECT NVP('entree=orange chicken&entree2=honey salmon', 'entree');

returns 'orange chicken'.

In this example, name_delimiters is & (default value), value_delimiters is = (default value), and occurrence is 1 (default value).