摘要:
--查出字段约束名select b.name from syscolumns a,sysobjects b where a.id=object_id('Edu_Discount') and b.id=a.cdefault and b.name like 'DF%'--删除约束alter table Edu_Discount DROP CONSTRAINT --DF__Edu_Disco__Is_Re__45F6932F--删除字段alter table Edu_Discount DROP COLUMN is_Refund 阅读全文