Answers for "How to Rename a Column in Snowflake in Snowflake"

0

snowflake rename column name

ALTER TABLE <table_name> RENAME COLUMN <col_name> TO <new_col_name>
Posted by: Guest on March-03-2021
0

How to Rename a Column in Snowflake in Snowflake

-- syntax
alter table table_name rename column old_name to new_name;

-- rename product_category column in products table
alter table products rename column products_category to products;
Posted by: Guest on August-25-2021

Code answers related to "How to Rename a Column in Snowflake in Snowflake"

Browse Popular Code Answers by Language