
/*------ ATD 215009 ------*/
IF NOT EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE name = 'VlrUnitIPISemDes' and syscolumns.id IN (SELECT ID FROM SYSOBJECTS WHERE xtype='U' AND name='ItnfsaiComplemento')) 
alter table ItnfsaiComplemento add VlrUnitIPISemDes Decimal(18,2) default 0
go
IF NOT EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE name = 'AliqIPISemDes' and syscolumns.id IN (SELECT ID FROM SYSOBJECTS WHERE xtype='U' AND name='ItnfsaiComplemento')) 
alter table ItnfsaiComplemento add AliqIPISemDes Decimal(5,2) default 0
go