declare dup_val_on_index exception; pragma exception_init (dup_val_on_index , -00001); begin execute immediate 'update autorizacion set NOMBAUTORIZACION = ''AUT_AUMENTA_DISPONIBILIDAD'' where NOMBAUTORIZACION = ''AUT_AUMENTA_DISPONIB'''; exception when dup_val_on_index then null; end;