From a2e732ce73fc571c5c585f7afbee5574492b0476 Mon Sep 17 00:00:00 2001 From: thiago Date: Tue, 25 Jul 2017 22:23:23 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#9271=20-=20Altera=C3=A7=C3=A3o?= =?UTF-8?q?=20de=20dados=20a=20serem=20exibidos=20em=20relat=C3=B3rio.?= 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@71894 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170725_1721__mantis9271.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20170725_1721__mantis9271.sql diff --git a/src/db/migration/V20170725_1721__mantis9271.sql b/src/db/migration/V20170725_1721__mantis9271.sql new file mode 100644 index 000000000..158324cbb --- /dev/null +++ b/src/db/migration/V20170725_1721__mantis9271.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into MOTIVO_CANCELACION (MOTIVOCANCELACION_ID,DESCMOTIVO,TIPOMOTIVO,EQUIVALENCIAELEKTRA_ID,EQUIVALENCIA_ID,ACTIVO,FECMODIF,USUARIO_ID,TXTRELATORIO) values (''38'',''SOLICITACAO ESTORNO'',''B'',null,null,''1'',SYSDATE,''1'',''SOLICITACAO ESTORNO'')'; + exception when dup_val_on_index then null; +end; +