use MarcoBarcode
go
alter table [dbo].[WorkOrderRepairSheet]
ADD needRepair
int
go
ALTER TABLE [dbo].[WorkOrderRepairSheet]
ADD CONSTRAINT [DF_WorkOrderRepairSheet_needRepair] DEFAULT ((1)) FOR [needRepair]
GO
alter table [dbo].[WorkOrderRepairSheet]
alter column [needRepair]
int
not
null