 
GO
IF NOT EXISTS(SELECT 1 FROM syscolumns WHERE ID = OBJECT_ID('EST_NF_ENT_IT') AND NAME = 'VLR_CUSTO_MD')
BEGIN  
	ALTER TABLE dbo.EST_NF_ENT_IT ADD
		VLR_CUSTO_MD MONEY NULL
	 
	ALTER TABLE dbo.EST_NF_ENT_IT ADD CONSTRAINT
		DF_EST_NF_ENT_IT_VLR_CUSTO_MD DEFAULT 0 FOR VLR_CUSTO_MD
END
 
  