MSCEWI4055
Default constraint was commented out and may have been added to a table definition.
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Medium
Description
This EWI is added when the default constraint is present in an Alter Table statement.
Currently, there is no support for that constraint. A workaround available to transform it, is when the table is previously defined to the Alter Table, in this way we identify the references, and the default constraint is unified on the table definition; otherwise, the constraint is only commented out.
Code Example
Input Code:
Output Code:
If all the content of the Alter Table is invalid, the Alter Table will be commented out.
Known Issues
When different default constraints are declared over the same column, only the first will be reflected on the Create Table Statement.
Recommendations
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated