Home  >  Blog  >   Snowflake  > 

How to Drop a Column in Snowflake

In tables, we will have rows and columns to store the data in order. When we don’t require some data, we can delete that data. To delete that data, we have to delete those columns. This blog teaches you to drop a single column or multiple columns.

Rating: 4.5
  
 
197
  1. Share:
Snowflake Articles

Drop a Column in Snowflake

In Snowflake, we can drop the columns through the “ALTER TABLE .. DROP COLUMN” command.

Dropping one column:

alter table product1
drop column description1;

Dropping multiple columns:

alter table product1
drop column price1, description1;
Looking forward to a career in a cloud data warehousing domain? Check out the "Snowflake Training" and get certified today

Conclusion

Drop command is one of the essential commands in a Database. It helps delete particular rows or columns or complete data. I hope this article provides you with sufficient information about dropping a column.

Snowflake Related Articles


▶  Snowflake vs Redshift
▶  Snowflake vs BigQuery
▶  Snowflake vs Databricks
▶  Snowflake vs Azure
▶  Snowflake vs Hadoop
▶  Snowflake Time Travel

Join our newsletter
inbox

Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!

Course Schedule
NameDates
Snowflake TrainingOct 29 to Nov 13
Snowflake TrainingNov 01 to Nov 16
Snowflake TrainingNov 05 to Nov 20
Snowflake TrainingNov 08 to Nov 23
Last updated: 28 October 2022
About Author
Viswanath V S

Viswanath is a passionate content writer of Mindmajix. He has expertise in Trending Domains like Data Science, Artificial Intelligence, Machine Learning, Blockchain, etc. His articles help the learners to get insights about the Domain. You can reach him on Linkedin