
/*------ ATD 466536 ------*/
-- Adicionando coluna SEMCBENEF na tabela BASECALFAT
IF NOT EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE name = 'SEMCBENEF' and syscolumns.id IN (SELECT ID FROM SYSOBJECTS WHERE xtype='U' AND name='BASECALFAT')) 
ALTER TABLE BASECALFAT ADD SEMCBENEF NUMERIC(1,0)
go
