From 53984bab2f79a21490129829df5c28a829abb449 Mon Sep 17 00:00:00 2001 From: gleimar Date: Tue, 31 Oct 2017 20:59:32 +0000 Subject: [PATCH] bug#10080 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@75929 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20171031_1849__mantis10080.sql | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/db/migration/V20171031_1849__mantis10080.sql b/src/db/migration/V20171031_1849__mantis10080.sql index 81a62988f..d96e03b42 100644 --- a/src/db/migration/V20171031_1849__mantis10080.sql +++ b/src/db/migration/V20171031_1849__mantis10080.sql @@ -1,8 +1,6 @@ declare - dup_val_on_index exception; - -begin + begin execute immediate 'Insert into MOTIVO_CANCELACION (MOTIVOCANCELACION_ID,DESCMOTIVO,TIPOMOTIVO,ACTIVO,FECMODIF,USUARIO_ID,CVESISTEMA) values (MOTIVO_CANCELACION_SEQ.nextval,''CANCELAMENTO ECF'',''B'',1,sysdate,1,''CANCELAMENTO_ECF'')'; - exception when dup_val_on_index then null; + exception when others then null; end;