declare
    begin
    execute immediate 'INSERT INTO FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID)
values (FUNCION_SISTEMA_SEQ.NEXTVAL,''1'',''ADM > ESQUEMA OPERACIONAL >> GERACAO ARQUIVO EMTU'',
''COM.RJCONSULTORES.ADMINISTRACION.GUI.ESQUEMAOPERACIONAL.MENU.GERACAOARQUIVOEMTU'',
''1'',to_date(''15/04/16'',''DD/MM/RR''),''1'')';
	exception when others  then null;
end;

/

declare
    column_exists exception;
    pragma exception_init (column_exists , -01430);
begin
    execute immediate 'ALTER TABLE EMPRESA ADD CODIGO_EMTU NUMBER(5,0)';
    exception when column_exists then null;
end;

/

declare
    column_exists exception;
    pragma exception_init (column_exists , -01430);
begin
    execute immediate 'ALTER TABLE EMPRESA ADD CODIGO_EMTU NUMBER(5,0)';
    exception when column_exists then null;
end;