SSC-FDM-TS0020
Default constraint was commented out and may have been added to a table definition.
Description
This FDM is added when the default constraint is present in an Alter Table statement.
Currently, support for that constraint is unavailable. A workaround to transform it is to define the table prior to using Alter Table. This allows SnowConvert to identify the references, and the default constraint is consolidated in the table definition. Otherwise, the constraint is only commented out.
Code Example
Input Code:
Output Code:
Known Issues
When different default constraints are declared over the same column, only the first will be reflected on the Create Table Statement.
When a default constraint is declared on a missing column, the transformation cannot be performed due to the lack of dependencies.
Recommendations
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated