fixes bug #9687
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@73731 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
c03f73a5b2
commit
e49c42d64f
|
@ -0,0 +1,8 @@
|
||||||
|
declare
|
||||||
|
dup_val_on_index exception;
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
begin
|
||||||
|
execute immediate 'Insert into CONSTANTE (CONSTANTE_ID,NOMBCONSTANTE,DESCCONSTANTE,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID) values (CONSTANTE_SEQ.NEXTVAL,''IS_ARREDONDAMENTO_TARIFA'',''IS_ARREDONDAMENTO_TARIFA'',''1'',''false'',''1'',''1'',sysdate,''1'')';
|
||||||
|
exception when dup_val_on_index then null;
|
||||||
|
end;
|
||||||
|
|
Loading…
Reference in New Issue