UNIQUE
Description
Specifies that a group of one or more columns of a table can contain only unique values.
Click here to navigate to the Amazon Redshift docs page for this syntax.
Grammar Syntax
UNIQUE ( column_name [, ... ] )Sample Source Patterns
Input Code:
CREATE TABLE table1 (
col1 INTEGER,
col2 INTEGER,
UNIQUE ( col1, col2 )
);Output Code:
Related EWIs
There are no known issues.
Last updated
