17.05 - column_name - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)

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.