16.20 - Error Logging Limits - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

You can specify a WITH LIMIT OF error_limit clause in an INSERT … SELECT or MERGE request with a value in the range of 1 to 16,000,000, inclusive. This limit is based on the largest number a system semaphore counter can support.

If you do not specify a WITH LIMIT OF clause, the request uses the default error limit of 10.

You can also specify a WITH NO LIMIT clause if you do not want to specify an error limit.

If the INSERT … SELECT or MERGE request accumulates the number of errors in the specified error limit, the request or transaction aborts in ANSI or Teradata mode, respectively, and all changes to the target table rows are rolled back.

Teradata Database preserves any error table rows previously logged by the aborted request or transaction and does not roll them back.

See “INSERT/INSERT … SELECT” and “MERGE” in Teradata Vantage™ SQL Data Manipulation Language , B035-1146 for details.