SSC-EWI-0080
Default value is not allowed on binary columns
Severity
Low
Description
This EWI is added when the source code has a default value for BINARY data type, which is not supported in SnowFlake SQL
Example Code
Input Code (SqlServer):
create table test1345
(
key1 binary default 0
);
Output Code:
CREATE OR REPLACE TABLE test1345
(
key1 BINARY
!!!RESOLVE EWI!!! /*** SSC-EWI-0080 - DEFAULT VALUE IS NOT ALLOWED ON BINARY COLUMNS ***/!!!
default 0
)
COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},"attributes":{"component":"transact"}}'
;
Recommendations
If you need more support, you can email us at [email protected]
Last updated