IF NOT EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='RC_CONC_PDV_VD_TEF_ENVIO_PENDENCIA' AND COLUMN_NAME='FLAG_RESPOSTA')
begin
ALTER TABLE dbo.RC_CONC_PDV_VD_TEF_ENVIO_PENDENCIA ADD
	FLAG_RESPOSTA int NOT NULL CONSTRAINT DF_RC_CONC_PDV_VD_TEF_ENVIO_PENDENCIA_FLAG_RESPOSTA DEFAULT 0
end