declare
    dup_val_on_index exception;
    pragma exception_init (dup_val_on_index  , -00001);
begin
  execute immediate 'Insert into TIPO_EVENTO_EXTRA (TIPOEVENTOEXTRA_ID,INDTIPO,IMPMAX,INDVALIDACORTE,INDVALIDADOCUMENTO,INDCONTRAPARTIDA,INDBOLETO,INDORDENSERVICIO,PORCIVA,FORMAPAGO_ID,USUARIO_ID,FECMODIF,ACTIVO,PARAMARTICULO2_ID,INDTIPO2,FORMAPAGO2_ID,INDOPERACION,DESCTIPOEVENTO,PROVEEDOR,IMPFISCALNUMOPERACAO,NATUREZA,CONTACONTABIL,INDCONFERENCIAFISICACOMISSAO,INDVALIDAESTOQUE,CVETIPOEVENTO,CVESISTEMA,INTEGRADOTOTVS,ERRO) 
    values (TIPO_EVENTO_EXTRA_SEQ.nextval,''1'',99999.99,null,''0'',null,''0'',null,''0'',null,''1'',sysdate,''1'',null,null,null,''1'',''JUROS CARTAO CREDITO'',null,null,null,null,null,null,''JUROS_CARTAO_CREDITO'',''JUROS_CARTAO_CREDITO'',null,null)';
  exception when dup_val_on_index  then null;
end;
/
declare
    column_exists exception;
    pragma exception_init (column_exists , -01430);
begin
    execute immediate 'ALTER TABLE TARJETA_CREDITO ADD (INDAPLICAVENDA NUMBER(1,0) )';
    exception when column_exists then null;
end;
/
declare
    column_exists exception;
    pragma exception_init (column_exists , -01430);
begin
    execute immediate 'ALTER TABLE TARJETA_CREDITO ADD (TARIFAMINIMA NUMBER(7,2) )';
    exception when column_exists then null;
end;
/
declare 
  column_exists exception;
  pragma exception_init (column_exists , -01430);
begin  
  execute immediate 'ALTER TABLE EMPRESA ADD INDJUROSCREDITO NUMBER(1,0)';
  exception when column_exists then null;
end;