
IF NOT EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = 'SUBSIDIO' AND OBJECT_ID = OBJECT_ID('EST_SNGPC_RECEITA'))
begin
    ALTER TABLE EST_SNGPC_RECEITA ADD SUBSIDIO INT CONSTRAINT DF_EST_SNGPC_RECEITA_SUBSIDIO  DEFAULT ((0)) NOT NULL
end