Teradata Database Message 5969 - 5969 - Analytics Database - Teradata Vantage

Analytics Database Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
15.xx,16.xx,17.xx
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-01-05
dita:mapPath
sfx1628096178347.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1096
lifecycle
latest
Product Category
Teradata Vantageā„¢
Message
The database '%VSTR' has tables with error tables defined in another database.
Explanation
The above error is generated when a user submits a DELETE DATABASE command on a database that contains tables with error tables defined in some other database. The DELETE is disallowed in order to avoid orphaned error tables.
Generated By
OPD module(opddeldb)
For Whom
End User or Field Engineer or the concerned site support Representative.
Notes
Find all the error tables that are defined on the tables in the database being deleted by using the following command: SELECT BaseTblDbName, BaseTblName, ErrTblDbName, ErrTblName FROM DBC.ErrorTblsV WHERE BaseTblDbName <> ErrTblDbName AND BaseTblDbName = CurrentDBName; where <CurrentDBName> is the database name of the database being deleted.
Remedy
Drop all error tables from the above list and re-submit the DELETE DATABASE command.