Comment on page
MSCEWI1097
Constraint in default expression is not supported.
Low
This warning is added when there is a Constraint constraintName used in a default expression of a Column Definition. Since Constraint constraintName is not supported in Snowflake, it is removed and a warning is added.
CREATE TABLE TABLE1 (
COL1 VARCHAR (10) CONSTRAINT constraintName DEFAULT ('0') NOT NULL
);
CREATE TABLE T1 (
COL1 VARCHAR (10)
/*** MSC-WARNING - MSCEWI1097 - CONSTRAINT IN DEFAULT EXPRESSION IS NOT SUPPORTED IN SNOWFLAKE ***/
DEFAULT ('0') NOT NULL)
- No end-user action is required.
Last modified 1mo ago