IF NOT EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE ID = OBJECT_ID('EST_PED_ELTR') AND name = 'DEMANDA_QTD_DEFINIDA')
BEGIN 
	ALTER TABLE EST_PED_ELTR ADD DEMANDA_QTD_DEFINIDA INT NULL 	
	ALTER TABLE [dbo].[EST_PED_ELTR] ADD  CONSTRAINT [DF_EST_PED_ELTR_DEMANDA_QTD_DEFINIDA] DEFAULT (0) FOR [DEMANDA_QTD_DEFINIDA]
END