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