
/*------ ATD 346903 ------*/
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'CLAFISCCAD' AND COLUMN_NAME = 'cBENEF') 
alter TABLE dbo.CLAFISCCAD add cBENEF CHAR(10)
go
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'DADOSITEMNFE' AND COLUMN_NAME = 'cBENEF') 
alter TABLE dbo.DADOSITEMNFE add cBENEF CHAR(10)
go