From 4a2b28f7110af2a0a59e4c5497c94233fdb83b9d Mon Sep 17 00:00:00 2001 From: thiago Date: Mon, 3 Jul 2017 23:04:02 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#9316=20-=20Altera=C3=A7=C3=A3o?= =?UTF-8?q?=20de=20valor=20de=20constante=20para=20fechamento=20de=20conta?= =?UTF-8?q?=20corrente.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@70944 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170703_1948__mantis9316.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20170703_1948__mantis9316.sql diff --git a/src/db/migration/V20170703_1948__mantis9316.sql b/src/db/migration/V20170703_1948__mantis9316.sql new file mode 100644 index 000000000..357cb1733 --- /dev/null +++ b/src/db/migration/V20170703_1948__mantis9316.sql @@ -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; +