UNIQUE | PRIMARY KEY

UNIQUE

Description

Specifies that the column can contain only unique values.

Click here to navigate to the Amazon Redshift docs page for this syntax.

Grammar Syntax

UNIQUE

Sample Source Patterns

Amazon Redshift

CREATE TABLE TABLE1 
(
 COL1 VARCHAR(15),
 COL2 VARCHAR(15) UNIQUE
);

Snowflake

CREATE TABLE TABLE1
(
 COL1 VARCHAR(15),
 COL2 VARCHAR(15) UNIQUE
);

Primary Key

Description

Specifies that the column is the primary key for the table.

Click here to navigate to the Amazon Redshift docs page for this syntax.

Grammar Syntax

Sample Source Patterns

Amazon Redshift

Snowflake

Known issues

There are no known issues.

Last updated

Was this helpful?