Links

MSCEWI2018

Variant column does not support collation.

Severity

Low

Description

This message is shown when SnowConvert a Variant data type in the transformation of a code has a COLLATE clause. Since COLLATE is not supported with the data type VARIANT, it will be removed and a message will be added.

Code Example

Input Code:

CREATE TABLE TableExample
(
ColumnExample JSON(2500) NOT CASESPECIFIC
)

Output Code:

CREATE TABLE PUBLIC.TableExample
(
ColumnExample VARIANT /*** MSC-WARNING - MSCEWI2018 - VARIANT COLUMN DOES NOT SUPPORT COLLATION ***/
);
The data type JSON is converted to VARIANT, while NOT CASESPECIFIC is converted to a COLLATE clause.
Because if this scenario, since VARIANT does not support COLLATE, it is removed.

Recommendations

  • No additional user actions are required.
  • For more support, you can email us at [email protected] or post a message to our forums. If you have a contract for support with Mobilize.Net, reach out to your sales engineer and they can direct your support needs.