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.