How to Remove a Default Value to a Column in Snowflake in Snowflake

To remove a default value to a column in Snowflake, use the ALTER TABLE <table_name> ALTER <column_name> DROP DEFAULT command:

alter table products
alter id
drop default;

Previous

Next

Ready for a modern SQL editor?