CreateObjectList | Application Programming Reference | Teradata Vantage - CreateObjectList - Teradata Vantage - Analytics Database

Application Programming Reference

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
qld1628112131956.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ajo1472244909562
lifecycle
latest
Product Category
Teradata Vantageā„¢

Creates a new object list with a user-specified name.

Syntax

REPLACE PROCEDURE TDSTATS.CreateObjectList (
  IN ObjectListName VARCHAR(128) CHARACTER SET UNICODE, 
  OUT ObjectListId BIGINT
)
  ...
;

Syntax Elements

ObjectListName
Name for the newly created object list.
The name must be unique among all object lists stored in the TDSTATS database.
ObjectListId
ID of the created object list.

Usage Notes

After a new object list is created, you can call AddObjectListEntry to add objects to a list.

To add database or tables to the list, see AddObjectListEntry.

Example: Using CreateObjectList

The following example shows how to create a list consisting of all finance databases and cash tables within account databases.

CALL TDSTATS.CreateObjectList('FinCashList',ObjectListId);
CALL TDSTATS.AddObjectListEntry('FinCashList',NULL,'Fin%',NULL);
CALL TDSTATS.AddObjectListEntry('FinCashList',NULL,'Account%','Cash%');