16.20 - Rules and Restrictions for Modifying Nonpartitioned NoPI Tables - 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)

ALTER TABLE supports nonpartitioned NoPI tables in the same manner as tables with a primary index or primary AMP index, except:

  • You cannot add a permanent journal to a nonpartitioned NoPI table or to a column-partitioned table definition.
  • You cannot add an identity column to a nonpartitioned NoPI table definition.
  • To alter a NoPI table to have partitioning, the table must be empty and the partitioning must include column partitioning.
  • To alter a NoPI table to have a primary index or primary AMP index, the table must be empty. To alter a table with a primary index to have no primary index, the table must be empty. To alter a table with a primary AMP index to have no primary index and not be partitioned, the table must be empty.