declare indice_nao_existe exception; pragma exception_init (indice_nao_existe , -01418); begin execute immediate 'DROP INDEX unique_tarifa_oficial'; exception when indice_nao_existe then null; end;