Teradata provides a table function called GetQueryBandPairs that retrieves name-value pairs in the query band using the FNC_GetQueryBandPairs library function. GetQueryBandPairs is created in the SYSLIB database when you execute the DIPDEM script using the DIP utility.
For more information on DIP, see Teradata Vantage™ - Database Utilities, B035-1102. For more information on GetQueryBandPairs, see Teradata Vantage™ - Application Programming Reference, B035-1090.