Example: Select PARAMINFO from QryLogParamJSON - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

This example returns the PARAMINFO information for each parameter in the JSON document in a row. This returns the name, type, position, and value for each parameter in the parameterized request.

select QueryID, RowNum, ParamJSON.ParamInfo from QryLogParamJSON;

Result:

QueryID             RowNum  ParamJSON.ParamInfo
------------------  ------- -------------------------------------------
307190733539634351  1       [{"Name":"x","Type":"INTEGER","Size":4,"Position":1}]
307190733539634351  2       ?