SSC-EWI-PG0002
Constraint index parameter not supported
Severity
Low
Description
The use of the following index parameters in constraints are not supported by Snowflake.
INCLUDE
WITH
USING INDEX TABLESPACE
Code Example
Input Code:
CREATE TABLE Table1 (
code char(5),
date_prod date,
CONSTRAINT production UNIQUE(date_prod) INCLUDE(code)
);
CREATE TABLE Table2 (
name varchar(40),
UNIQUE(name) WITH (fillfactor=70)
);
CREATE TABLE Table3 (
name varchar(40),
PRIMARY KEY(name) USING INDEX TABLESPACE tablespace_name
);Output Code:
Recommendations
If you need more support, you can email us at [email protected]
Last updated
