declare
    column_exists exception;
    ja_existe exception;
    pragma exception_init (column_exists , -01430);
    pragma exception_init (ja_existe , -00001);
begin
    execute immediate 'ALTER TABLE EMPRESA ADD INDGENNUMFOLIOVTAINTIMPOST NUMBER(1,0) DEFAULT 0 NOT NULL';
    INSERT INTO FUNCION_SISTEMA VALUES
  							(
    							FUNCION_SISTEMA_SEQ.NEXTVAL,
    							1,
    							'ADM > CATALOGOS >> EMPRESA >> GERA NUMERO BILHETE VENDA INTERNET E IMP. POSTERIOR',
    							'COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.EMPRESA.GENERAFOLIOSISTEMAVTAINTIMPPOSTERIOR',
    							1 ,
    							sysdate,
    							1
  							);
    exception 
    when column_exists then null;
     when ja_existe then null;
end;