1。select b.name from syscolumns a,sysobjects b where a.id=object_id('表名') and b.id=a.cdefault and a.name='data_name' and b.name like 'DF%'
2。alter table 表名 drop constraint DF_SYS_ENTITY_DATA_ENTITY_NAME;
alter table 表名 add constraint DF_sys_entit_data_entity_name default ' ' for 字段名;
注:DF_SYS_ENTITY_DATA_ENTITY_NAME是序号1查出来的结果