declare dup_val_on_index exception; pragma exception_init (dup_val_on_index , -00001); begin execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values (funcion_sistema_seq.nextval,1,''ADM > SEGURIDAD >> INTEGRACAOTOTVS'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.INTEGRACAOTOTVS'',1,sysdate,1)'; exception when dup_val_on_index then null; end;