There are two scenarios where default value for a column could be changed,
Query
create table table_name
(
column_name datatype default 'any default value'
);
In this case my SQL server does not allow to modify existing default constraint value. So to change the default value we need to delete the existing system generated or user generated default constraint. And after that default value can be set for a particular column.
Follow some steps :
Execute this system database procedure, it takes table name as a parameter. It returns list of all constrains for all columns within table.
execute [dbo].[sp_helpconstraint] 'table_name'
Syntax:
alter table 'table_name' drop constraint 'constraint_name'
Syntax:
alter table 'table_name' add default 'default_value' for 'column_name'
cheers @!!!