Using Error Table Data to Isolate Problems - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

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

Use the following general procedure to isolate problems using error table data:

  1. Query the error table to retrieve information on the errors logged for a user in an error table named ET_t and the DBQL query ID returned in the error or warning message:
    SELECT ETC_ErrorCode, FieldName, ETC_IndexNumber, ETC_IdxErrType
    FROM ET_t, DBC.Tables3VX
    WHERE ETC_DBQL_QID = 123456789012345678
    AND   ETC_TableID = TableID;
  2. Look at each error code and column value related to the error and determine if any action needs to be taken.
The following error table columns are more useful for troubleshooting by Teradata Services personnel than for end users:
  • ETC_RowId
  • ETC_ErrSeq