Rules and Restrictions for Modifying Nonpartitioned NoPI Tables - Teradata Vantage - Analytics Database

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-12-13
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
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.