CreateObjectListSP | SQL Operators & User-Defined Functions | Teradata Vantage - 17.10 - CreateObjectListSP - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1210-171K
Language
English (United States)

Creates a named object list consisting of one or more databases, tables, join indexes, or hash indexes. These lists are useful when specifying large object scopes for AnalyzeSP to operate on.

This procedure works in conjunction with AddObjectListEntrySP(X). CreateObjectListSP is called once to create an empty list, and AddObjectListEntrySP(X) is called repeatedly to add individual objects to that list. A given list may be defined with any mixture of tables, join indexes, or hash indexes.

ANSI Compliance

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

Syntax

CALL [TDMaps.] CreateObjectListSP (
  { 'ObjectListName' | NULL },
  [ 'DictionaryDatabase', ]
  :ObjectListID
) [;]

Syntax Elements

TDMaps.
The name of the database.
ObjectListName
Name of the object list. It must be specified.
DictionaryDatabase
The name of the database where the data dictionary tables, such as TVM, reside.
ObjectListID
An output parameter that is the system-assigned numeric identifier for the list.