CREATE ERROR TABLE SQL Statement | VantageCloud Lake - CREATE ERROR TABLE - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Defines the name and containing database of a new error table and specifies the name of the associated data table.

If the associated data table is column-partitioned, Vantage creates the error table like a non-column-partitioned table except that the error table is a NoPI table without partitioning.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Other SQL dialects support similar non-ANSI standard statements with names such as START VIOLATIONS TABLE.

Required Privileges

You must have the CREATE TABLE privilege on the database or user in which the error table is created.

Privileges Granted Automatically

The creator has the following privileges on the newly created error table:
  • DELETE
  • DROP TABLE
  • INSERT
  • SELECT
  • UPDATE