MSCEWI1045

Column Name Is Snowflake Reserved Keyword.

This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.

Severity

Low

Description

Column names that are valid for Oracle but are reserved keywords in Snowflake. These columns are being converted to lowercase and added double -quotes.

Code Example

Input Code:

CREATE TABLE T1
(
    LOCALTIME NUMBER,
    CURRENT_USER NUMBER
);

Output Code:

CREATE OR REPLACE TABLE PUBLIC.T1
( /*** MSC-WARNING - MSCEWI1045 - COLUMN NAME LOCALTIME IS A SNOWFLAKE RESERVED KEYWORD ***/
 "localtime" NUMBER (38,19),
/*** MSC-WARNING - MSCEWI1045 - COLUMN NAME CURRENT_USER IS A SNOWFLAKE RESERVED KEYWORD ***/
"current_user" NUMBER (38,19)
);

Recommendations

Last updated