GETQUERYBANDVALUE_UDF
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
This is the user-defined function (UDF) overloaded with three parameters.
Definition
Retrieves the value associated with a name inside the name-value pairs of the transaction, session, or profile query band.
Parameters
QUERYBAND
VARCHAR
The query band which can be a concatenation of transaction, session, and profile query bands.
SEARCHTYPE
FLOAT
The level of the pairs that will be searched for a match.
0 = Any.
1 = Transaction.
2 = Session.
3 = Profile.
SEARCHNAME
VARCHAR
The name key to search in the pairs.
Returns
The value associated with the name key at the specific level or null if not found.
Usage example
Input:
Output:
Migration example
Input:
Output:
Last updated