16.20 - Usage Notes - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

Advanced SQL Engine
Teradata Database
Release Number
Release Date
April 2020
Content Type
Programming Reference
Publication ID
English (United States)

CreateObjectListSP returns the system-assigned numeric identifier for the specified ObjectListName. When calling AddObjectListEntry, ObjectListName must be specified to identify that list.

DictionaryDatabase defines where the data dictionary tables are stored. Either define it or use NULL. Set DictionaryDatabase when running AnalyzeSP on a system different from the system where the objects are defined. Copy the contents of the following from the source system to DictionaryDatabase on the system where AnalyzeSP runs:
  • Maps
  • Dbase
  • TVM
  • TVFields
  • DBQLStepTbl
  • ObjectUsage
  • DatabaseSpace
Create the following views in DictionaryDatabase:
  • Tables2V
  • Databases2V
  • MapsV
  • QryLogStepsV
  • ColumnsV
  • InsertUseCountV
  • UpdateUseCountV
  • DeleteUseCountV
  • DiskSpaceV