Rules for Primary Indexes and Their Defaults for a Column-Partitioned Table - 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™
  • A column-partitioned table can have a primary index, a primary AMP index, or no primary index.
  • If you do not specify a PRIMARY INDEX or PRIMARY AMP clause or if you do specify a NO PRIMARY INDEX clause and you also specify a PARTITION BY clause, the partitioning must specify a COLUMN partitioning level.
  • If you do not specify a PRIMARY INDEX (column_list) clause, PRIMARY AMP INDEX clause, or NO PRIMARY INDEX clause explicitly in your CREATE TABLE statement, but you do specify a PARTITION BY clause, then Vantage creates the table without a primary index.