ALTER TABLE Cbtes_Tipos ADD Compromete_CtrlPresup SMALLINT
GO

UPDATE Cbtes_Tipos SET Compromete_CtrlPresup = Compromete_Proyectos WHERE Compromete_CtrlPresup IS NULL
UPDATE Cbtes_Tipos SET Compromete_Proyectos = 0 WHERE Compromete_CtrlPresup IS NOT NULL



