AddExclusionListEntrySP(X) | SQL Operators & UDFs | Teradata Vantage - AddExclusionListEntrySP(X) - Advanced SQL Engine - Teradata Database

SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2023-04-27
dita:mapPath
xwv1596137968859.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1210
lifecycle
previous
Product Category
Teradata Vantage™

Adds an entry to the Exclusion List of databases, tables, join indexes or hash indexes.

This procedure works in conjunction with CreateExclusionListSP. CreateExclusionListSP is called once to create an empty list, and then AddExclusionListEntrySP(X) is called repeatedly to add objects to that list.

ANSI Compliance

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

Syntax

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

Syntax Elements

TDMaps.
The name of the database.
ExclusionListName
Name of the exclusion list.
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.