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

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
imq1591724555718.ditamap
dita:ditavalPath
imq1591724555718.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

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.