NVP
Translation specification for transforming the NVP function to an equivalent UDF in Snowflake
Description
[TD_SYSFNLIB.] NVP (
in_string,
name_to_search
[, name_delimiters ]
[, value_delimiters ]
[, occurrence ]
)Sample Source Patterns
NVP basic case
Teradata
SELECT
NVP('entree=-orange chicken&entree+.honey salmon', 'entree', '&', '=- +.', 1),
NVP('Hello=bye|name=Lucas|Hello=world!', 'Hello', '|', '=', 2),
NVP('Player=Mario$Game&Tenis%Player/Susana$Game=Chess', 'Player', '% $', '= & /', 2);COLUMN1 | COLUMN2 | COLUMN3 |
---------------+---------+---------+
orange chicken | world! | Susana |Snowflake
NVP with optional parameters ignored
Teradata
Snowflake
NVP with spaces in delimiters
Teradata
Snowflake
NVP with non-literal delimiters
Teradata
Snowflake
Known Issues
Related EWIs
Last updated
Was this helpful?