15.10 - CREATE ERROR TABLE - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

Purpose

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, Teradata Database creates the error table as it would for a non-column-partitioned table except that the error table is a NoPI table without partitioning.

Required Privileges

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

To access an error table that contains UDT columns, you must have at least one of the following privileges:

  • UDTUSAGE on the specified UDT
  • UDTUSAGE on the SYSUDTLIB database
  • UDTTYPE on the SYSUDTLIB database
  • UDTMETHOD on the SYSUDTLIB database

The creator receives all the following privileges on the newly created error table:

  • DELETE
  • DROP TABLE
  • INSERT
  • SELECT
  • UPDATE

Syntax