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.

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

MindMajix Youtube Channel

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

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
Snowflake TrainingNov 19 to Dec 04View Details
Snowflake TrainingNov 23 to Dec 08View Details
Snowflake TrainingNov 26 to Dec 11View Details
Snowflake TrainingNov 30 to Dec 15View Details
Last updated: 04 Apr 2023
About Author

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

read less
  1. Share:
Snowflake Articles