Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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;
Source by popsql.com #
 
PREVIOUS NEXT
Tagged: #How #Rename #Column #Snowflake #Snowflake
ADD COMMENT
Topic
Name
3+9 =