SSC-EWI-TD0010

UPPERCASE not supported by Snowflake.

Severity

Low

Description

The UPPERCASE column attribute is not supported in Snowflake.

Example Code

Teradata:

IN -> Teradata_01.sql
CREATE TABLE T_2010
(
    col1 VARCHAR(1) UPPERCASE
);

Snowflake Scripting:

OUT -> Teradata_01.sql
CREATE OR REPLACE TABLE T_2010 (
    col1 VARCHAR(1)
                    !!!RESOLVE EWI!!! /*** SSC-EWI-TD0010 - UPPERCASE NOT SUPPORTED BY SNOWFLAKE ***/!!!
 UPPERCASE
)
COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},"attributes":{"component":"teradata"}}'
;

Recommendations

  • Since the UPPERCASE clause indicates that characters typed as 'aaa' are stored as 'AAA', a possible workaround can be adding to all the insert references the UPPER function. However, external data loading by ETL processes would also have to be modified.

  • If you need more support, you can email us at snowconvert-support@snowflake.com

Last updated