IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'VLR_FECOP_ST_RET' AND OBJECT_ID = OBJECT_ID('EST_NF_ENT_DANFE_PROVISORIO'))
BEGIN
	ALTER TABLE DBO.EST_NF_ENT_DANFE_PROVISORIO ADD	VLR_FECOP_ST_RET MONEY NULL

	ALTER TABLE DBO.EST_NF_ENT_DANFE_PROVISORIO ADD CONSTRAINT DF_EST_NF_ENT_DANFE_PROVISORIO_VLR_FECOP_ST_RET DEFAULT 0 FOR VLR_FECOP_ST_RET
END