
/*------ ATD 201903 ------*/
IF NOT EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE name = 'Restrito' and syscolumns.id IN (SELECT ID FROM SYSOBJECTS WHERE xtype='U' AND name='tablocacad'))
    alter table tablocacad add Restrito numeric(1) default 0 not null
go
