16.20 - Argument Types - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Administration
Programming Reference
Publication ID
B035-1210-162K
Language
English (United States)

TD_SYSFNLIB.TD_DBQLParam takes two input arguments and produces, as output, 3 table columns.

The following help statement provides detailed description of the function argument and output parameters.

help function TD_SYSFNLIB.TD_DBQLParam;
Parameter Name Type Comment
QID D Input parameter QueryID from DBC.DBQLParamTbl.QueryID
data BO Input parameter BLOB data from DBC.DBQLParamTbl.ParamInfo
QueryID D Output table column #1 (Foreign Key) System wide unique value to join DBQL tables.
RowNum I Output table column #2 Row number indicating the sequence of ParamInfo and Data Record JSON documents.
ParamJSON CO Output table column #3 Parameter and data rows in JSON format.

where:

D = Decimal(18,0)
BO = BLOB
I = Integer
CO = CLOB