From 3e61e96bde77c09ecbbf701767dad0c908b960b9 Mon Sep 17 00:00:00 2001 From: julio Date: Fri, 1 Jun 2018 18:32:34 +0000 Subject: [PATCH] bug#11035 dev:julio qua:julio git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@82320 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20180524_1126__mantis11035.sql | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/db/migration/V20180524_1126__mantis11035.sql b/src/db/migration/V20180524_1126__mantis11035.sql index 56ff68127..81bdfe09e 100644 --- a/src/db/migration/V20180524_1126__mantis11035.sql +++ b/src/db/migration/V20180524_1126__mantis11035.sql @@ -6,24 +6,43 @@ begin (FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > RELATORIOS >> BPE'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; + +/ +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 > RELATORIOS >> BPE >>> EXPORTACAO'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.EXPORTACAO'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; + +/ +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 > RELATORIOS >> BPE >>> RDI'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.RDI'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; + +/ +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 > RELATORIOS >> BPE >>> FINANCIERO'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.FINANCIERO'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; + +/ +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 > RELATORIOS >> BPE >>> DEVOLUCION'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.BPE.DEVOLUCION'',1,SYSDATE,-1)'; exception when dup_val_on_index then null; end; -end; \ No newline at end of file