fixes bug#9014

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@68951 d1611594-4594-4d17-8e1d-87c2c4800839
master
lucas.calixto 2017-05-17 17:39:45 +00:00
parent 8929935a33
commit 0035fe9b4c
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
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,''ENTREGAR BOLETO FORA DO INTERVALO'',
''COM.RJCONSULTORES.VENTABOLETOS.ENTREGARBOLETOALEMINTERVALO'',1,SYSDATE,-1)';
exception when dup_val_on_index then null;
end;