16.20 - Usage Notes - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

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

CreateExclusionListSP returns the system-assigned numeric identifier for the specified ExclusionListName. When calling AddExclusionListEntrySP, ExclusionListName 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 that is 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 and CreateExclusionListSP run:
  • Maps
  • Dbase
  • TVM
  • TVFields
  • DBQLStepTbl
  • ObjectUsage
  • DatabaseSpace
Create the following views in DictionaryDatabase:
  • Tables2V
  • Databases2V
  • MapsV
  • QryLogStepsV
  • ColumnsV
  • InsertUseCountV
  • UpdateUseCountV
  • DeleteUseCountV
  • DiskSpaceV

Finally, the rows written to ActionsTbl need to be copied to the source system.