15.10 - Example: Adding a Multicolumn Unnamed UNIQUE Constraint - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)
Last Update
2018-06-05

Add an unnamed uniqueness constraint to the columns named column_3 and column_4:

     ALTER TABLE table_1 ADD UNIQUE (column_3, column_4);