
/*------ ATD 446924 ------*/
IF NOT EXISTS 
   (SELECT 1 FROM SYSCOLUMNS 
    WHERE name = 'IDPIX' and syscolumns.id IN (SELECT ID FROM SYSOBJECTS WHERE xtype='U' AND name='PREVCLICAD')) 
alter table prevclicad add IDPIX varchar(100) null
go