Argument Types - Advanced SQL Engine - Teradata Database

SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2023-04-27
dita:mapPath
xwv1596137968859.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1210
lifecycle
previous
Product Category
Teradata Vantage™

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