TD_SYSFNLIB.TD_DBQLFUL parses the feature bitmap and generates a JSON document with a feature name list for each bit set in the bitmap. The feature list in JSON format is represented as JSON array type.
TD_SYSFNLIB.TD_DBQLFUL takes two input arguments and produces, as output, two table columns.
The following help statement provides detailed description of the function argument and output parameters.
help function TD_SYSFNLIB.TD_DBQLFUL;
Parameter Name | Type | Comment |
---|---|---|
QID | D | Input parameter QueryID from DBC.DBQLogTbl.QueryID |
data | BV | Input parameter VARBYTE data from DBC.DBQLogTbl.FeatureUsage |
QueryID | D | Output table column #1 (Foreign Key) System wide unique value to join DBQL tables. |
FeatureUsageJSON | JN | Output table column #2 feature list in JSON format. |
where:
D – Decimal(18,0) BV – VARBYTE JN - JSON