BEGIN TRANSACTION SET QUOTED_IDENTIFIER ON SET ARITHABORT ON SET NUMERIC_ROUNDABORT OFF SET CONCAT_NULL_YIELDS_NULL ON SET ANSI_NULLS ON SET ANSI_PADDING ON SET ANSI_WARNINGS ON COMMIT BEGIN TRANSACTION GO ALTER TABLE dbo.Import_main ADD Writeoffs tinyint NULL GO ALTER TABLE dbo.Import_main ADD CONSTRAINT DF_Import_main_Writeoffs DEFAULT 0 FOR Writeoffs GO ALTER TABLE dbo.Import_main SET (LOCK_ESCALATION = TABLE) GO COMMIT