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

SQL Operators and User-Defined Functions

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

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.