USE  目标数据库[TargetDatabase]
GO
ALTER TABLE [dbo].[TargetTable] DROP CONSTRAINT [TargetDefaultConstraint]
go
alter table [dbo].[TargetTable] add CONSTRAINT [TargetDefaultConstraint] default(defaultvalue) for DefaultField
go
posted on 2008-05-14 14:51  Bob&xiaobo.liu  阅读(774)  评论(0编辑  收藏  举报