I'm new to Snowflake and currently trying to migrate some data into Snowflake for testing, and the db (Redshift) I'm migrating data from treats double-quoted identifiers as case-insensitive.
To ensure all our existing SQL queries also work in Snowflake, I ran this to force Snowflake to resolve all existing double quoted identifiers like it would for unquoted identifiers:
alter account set quoted_identifiers_ignore_case = true;
I'm now able to query against tables without having to specify double quotes around all the column names, but the issue is when I tried dropping a column from a table, Snowflake threw an error
alter table tbl drop column col;
SQL compilation error: column 'COL' does not exist
but these queries work and all resolve to "COL":
select col from tbl;
select "col" from tbl;
select "COL" from tbl;
Any input would be highly appreciated!!