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