fixed bug #9316 - Alteração de valor de constante para fechamento de conta corrente.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@70944 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago 2017-07-03 23:04:02 +00:00
parent 0245307b29
commit 4a2b28f711
1 changed files with 8 additions and 0 deletions

View File

@ -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,''FECHAMENTO_CONTA_CORRENTE_FIXO'',''FECHAMENTO_CONTA_CORRENTE_FIXO'',''1'',''-1'',''1'',''1'',to_date(''21-03-2015 10:24:00'',''DD-MM-YYYY HH24:MI:SS''),''1'')';
exception when dup_val_on_index then null;
end;