DO $$ BEGIN insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values (nextval('funcion_sistema_seq'),2,'ADM > SEGURANCA > VALIDA SENHA INSTALACAO','COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.VALIDASENHAINSTALACAOVENDAEMBARCADA',1,now(),1); EXCEPTION WHEN unique_violation THEN NULL; END $$;