Creating and Maintaining Query Lists - Teradata Database - Teradata Vantage NewSQL Engine

Application Programming Reference

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-02
dita:mapPath
vwf1492987142269.ditamap
dita:ditavalPath
changebar_rev_16_20_exclude_audience_ie.ditaval
dita:id
B035-1090
lifecycle
previous
Product Category
Teradata Vantageā„¢

A query list allows you to identify and analyze a set of queries based on arbitrary user defined criteria.

Query List open APIs use one or more DBQL query IDs that are associated with a named identifier. This identifier can be passed to the Analyzer open API, AnalyzeStatsUsage, as an input argument. For more information about this open API, see AnalyzeStatsUsage.

You can use these open APIs to create and maintain query lists.

Functionality

If you want to ... Use the following SQL interface ...
create a new query list AddQueryList.
add a query to a named list AddQueryListEntry.
drop a list and all queries within it RemoveQueryList.
drop an individual query from a list RemoveQueryListEntry.