sql server 修改字段的默认值

USE [ServiceMonitor]
GO

ALTER TABLE [dbo].[tblAcceptUser] DROP CONSTRAINT [DF__tblAccept__Accep__1273C1CD]
GO

ALTER TABLE [dbo].[tblAcceptUser] ADD  CONSTRAINT [DF__tblAccept__Accep__1273C1CD]  DEFAULT ((0)) FOR [AcceptEmailWithAttach]
GO




你可能感兴趣的:(sql server 修改字段的默认值)