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

ALTER TABLE DBO.EST_NF_SAI_IT ADD CONSTRAINT DF_EST_NF_SAI_IT_VLR_BASE_FECOP_RET DEFAULT 0 FOR VLR_BASE_FECOP_RET

ALTER TABLE DBO.EST_NF_SAI_IT ADD	VLR_FECOP_RET MONEY NULL

ALTER TABLE DBO.EST_NF_SAI_IT ADD CONSTRAINT DF_EST_NF_SAI_IT_VLR_FECOP_RET DEFAULT 0 FOR VLR_FECOP_RET

ALTER TABLE DBO.EST_NF_SAI_IT ADD	PERC_FECOP_RET MONEY NULL

ALTER TABLE DBO.EST_NF_SAI_IT ADD CONSTRAINT DF_EST_NF_SAI_IT_PERC_FECOP_RET DEFAULT 0 FOR PERC_FECOP_RET
END