IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'CD_PED_DEV_NAO_ACEITE' AND OBJECT_ID = OBJECT_ID('EST_PED_VD_DEVOLVIDA'))
BEGIN
	ALTER TABLE EST_PED_VD_DEVOLVIDA ADD CD_PED_DEV_NAO_ACEITE INT NOT NULL CONSTRAINT DF_EST_PED_VD_DEVOLVIDA_CD_PED_DEV_NAO_ACEITE DEFAULT 0
END
