
/*------ ATD 234000 ------*/
DECLARE v_count NUMBER(1) := 0;
BEGIN
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE upper(table_name) = 'MU_EFD_REGISTRO' AND upper(column_name) = 'SERIALECF';
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'ALTER TABLE MU_EFD_REGISTRO ADD SERIALECF varchar2(60) NULL';
END;
/


DECLARE v_count NUMBER(1) := 0;
BEGIN
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE upper(table_name) = 'MU_EFD_REGISTRONF' AND upper(column_name) = 'SERIALECF';
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'ALTER TABLE MU_EFD_REGISTRONF ADD SERIALECF varchar2(60) NULL';
END;
/


DECLARE v_count NUMBER(1) := 0;
BEGIN
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE upper(table_name) = 'MU_EFD_REGISTROITNF' AND upper(column_name) = 'SERIALECF';
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'ALTER TABLE MU_EFD_REGISTROITNF ADD SERIALECF varchar2(60) NULL';
END;
/
