1):已存在默认值
语法:exec sp_helpconstraint @objname=表名 (查看指定表相关约束详情)
alter table 表名 drop constraint 约束名 (删除默认值)
alter table 表名 add default 默认值 for 字段名
2:):无默认值
语法:alter table 表名 add default 默认值 for 字段名
原文:https://www.cnblogs.com/woshinige/p/13984583.html