AddObjectListEntrySP(X) | SQL Operators & User-Defined Functions | Vantage - AddObjectListEntrySP(X) - Analytics Database - Teradata Vantage

SQL Operators and User-Defined Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-05
dita:mapPath
xub1628111590556.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
drp1544241916620
lifecycle
latest
Product Category
Teradata Vantage™

Adds individual objects to a list.

This procedure works in conjunction with CreateObjectListSP. CreateObjectListSP is called once to create an empty list, then AddObjectListEntrySP is called repeatedly to add individual objects to that list.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Syntax

CALL [TDMaps.] AddObjectListEntrySP(X) (
  'ObjectListName',
  'DatabaseName',
  { 'ObjectName' | NULL },
  :NumObjectsAdded
) [;]

Syntax Elements

TDMaps.
The name of the database.
ObjectListName
Name of the object list. It must be specified.
DatabaseName
The database in which the object is defined.
ObjectName
Name of the table, join index, or hash index defined in DatabaseName. ObjectName can be NULL, in which case all tables, join indexes, and hash indexes defined in DatabaseName are included in the list.
NumObjectsAdded
This output parameter is an INTEGER representing the number of exclusions added to the list.