Deletes a query list previously created by AddQueryList along with all of its entries.
REPLACE PROCEDURE TDSTATS.RemoveQueryList ( IN QueryListName VARCHAR(128) CHARACTER SET UNICODE, OUT NumRemoved INTEGER ) ... ;
- Name of the existing query list created by a call to AddQueryList. For more information, see AddQueryList.
- This input parameter cannot be NULL.
- Number of query entries removed along with the specified list.
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.
Example: Using RemoveQueryList
The following example shows how to remove the query list named MySlowQueries.