
/*------ ATD 346903 ------*/
DECLARE v_count NUMBER(1) := 0; 
BEGIN 
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE Upper(table_name) = 'CLAFISCCAD' AND Upper(column_name) = 'cBENEF'; 
EXCEPTION 
WHEN NO_DATA_FOUND THEN 
EXECUTE IMMEDIATE 'ALTER TABLE CLAFISCCAD ADD cBENEF CHAR(10) '; 
END;
/
DECLARE v_count NUMBER(1) := 0; 
BEGIN 
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE Upper(table_name) = 'DADOSITEMNFE' AND Upper(column_name) = 'cBENEF'; 
EXCEPTION 
WHEN NO_DATA_FOUND THEN 
EXECUTE IMMEDIATE 'ALTER TABLE DADOSITEMNFE ADD cBENEF CHAR(10) '; 
END;
/