NVP_UDF
Definition
Equivalent to the NVP Teradata's function.
Parameters
INSTRING
VARCHAR
The name-value pairs.
NAME_TO_SEARCH
VARCHAR
The name to search in the NVP function.
NAME_DELIMITERS
VARCHAR
The delimiter to separate the name-value pairs.
VALUE_DELIMITERS
VARCHAR
The delimiter to associate a name to its value.
OCCURRENCE
FLOAT
The number of coincidences to look up for.
Returns
A varchar value with the same instring data.
Usage example
Input:
Output:
Last updated