RemoveQueryList - 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™

Deletes a query list previously created by AddQueryList along with all of its entries.

Definition

REPLACE PROCEDURE TDSTATS.RemoveQueryList
 (IN QueryListName VARCHAR(128) CHARACTER SET UNICODE,
  OUT NumRemoved   INTEGER)
           .
           .
           .
;

Input Parameter

Parameter Description
QueryListName Name of the existing query list created by a call to AddQueryList. For more information, see AddQueryList.
This input parameter cannot be NULL.

Usage Notes

To remove only an individual query entry from a list, you must call the RemoveQueryListEntry external stored procedure.

You can view the query list data in the TDSTATS.QueryList and TDSTATS.QueryListEntry tables and the names of the query lists in the TDSTATS.QueryList.ListName column.

Output Parameter

Parameter Description
NumRemoved Number of query entries removed along with the specified list.

Example: Using RemoveQueryList

The following example shows how to remove the query list named MySlowQueries.

CALL TDSTATS.RemoveQueryList('MySlowQueries',NumRemoved);

Related Topics

For more information on .... See ...
previous created query lists AddQueryList.
removing an individual query entry from a list RemoveQueryListEntry.