Error Table Row Size Minimization - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

To minimize the size of error table rows, the system stores only the IDs of fields and users, not their names. To determine the names associated with the stored field IDs and user IDs, you can run queries against the DBC.Tables3VX view.

For example,

SELECT TableName, FieldName, ETC_ErrorCode
FROM DBC.Tables3VX, ET_myerrtbl
WHERE TableId = ETC_TableId
AND   FieldId = ETC_FieldId
AND   ETC_DBQL_QID = 385520516506583068;

where:

Request element … Specifies …
ET_myerrtbl the default system-generated name of the error table for base table myerrtbl, for which you want to retrieve table and column names.
385520516506583068 the unique DBQL query ID for this request.

See Teradata® Parallel Data Pump Reference, B035-3021, Teradata® FastLoad Reference, B035-2411, and Teradata® MultiLoad Reference, B035-2409 for the definitions of the error tables generated by those bulk loading utilities.