column_name - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

A column in the column set to be used as the primary key or as unique.

You cannot specify the QITS column to be either UNIQUE or a PRIMARY KEY. See QITS_column_name.

If more than one column_name is specified, the PRIMARY KEY or UNIQUE column set is based on the combined values of the column named.

A maximum of 64 columns can be specified for a primary key.

Columns listed in a UNIQUE or PRIMARY KEY table constraint must all be defined as NOT NULL.