17.10 - Rules and Restrictions for Modifying Nonpartitioned NoPI Tables - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1184-171K
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.