17.00 - Usage Notes - Teradata Database

Teradata Vantage™ - Data Dictionary

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
Programming Reference
featnum
B035-1092-170K

This view provides access to parameter and metadata information in Teradata JSON UDT type.

This view contains confidential user information and should be accessed only by trusted personnel with access to the restrictive user DBC password. For more information about the user DBC password, see Teradata Vantage™ - Advanced SQL Engine Security Administration, B035-1100.

The QryLogParamJSON view is populated if parameterized request logging is enabled with the PARAMINFO option for BEGIN/REPLACE QUERY LOGGING and this view (QryLogParamJSON) is included in a request.

For example:

SELECT QueryID, RowNum, ParamJSON from QryLogParamJSON;

converts all the rows in DBQLParamTbl to JSON documents. With this view, users can perform JSON operations on the ParamJSON column data.

For more information about this option, see Teradata Vantage™ SQL Data Definition Language Syntax and Examples, B035-1144.

RowNum

This column exists only in the QryLogParamJSON view, which is generated by the TD_SYSFNLIB.TD_DBQLParam table operator function at runtime. For more information about this function, see Teradata Vantage™ SQL Operators and User-Defined Functions, B035-1210.

ParamJSON

This column is generated by the TD_SYSFNLIB.TD_DBQLParam table operator function at runtime. This column converts the parameter values and metadata logged to the DBC.DBQLParamTbl.ParamInfo table column in Teradata JSON UDT type. For more information about this TD_SYSFNLIB.TD_DBQLParam table operator function, see Teradata Vantage™ SQL Operators and User-Defined Functions, B035-1210.