To remove a default value to a column in SQL Server, use the ALTER TABLE .. DROP CONSTRAINT command:
ALTER TABLE .. DROP CONSTRAINT
alter table products drop constraint df_category;
Previous
Next