From 2028bf8f6367f68e98c11d9690012146b65f9979 Mon Sep 17 00:00:00 2001 From: valdir Date: Mon, 19 Sep 2022 12:35:21 +0000 Subject: [PATCH] 53105 - Espec Regras de Arredondamento bug#al-1226 dev:valdevir qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114253 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20220913_0907__AL1226.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/db/migration/V20220913_0907__AL1226.sql b/src/db/migration/V20220913_0907__AL1226.sql index e864e7300..8bc815849 100644 --- a/src/db/migration/V20220913_0907__AL1226.sql +++ b/src/db/migration/V20220913_0907__AL1226.sql @@ -1,13 +1,19 @@ declare dup_val_on_index exception; + except_00955 exception; + + pragma exception_init (except_00955 , -00955); pragma exception_init (dup_val_on_index , -00001); begin execute immediate 'CREATE SEQUENCE "REDONDEO_ORGAOCONCEDENTE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999 INCREMENT BY 1 START WITH 121 CACHE 20 NOORDER NOCYCLE NOKEEP NOSCALE GLOBAL'; exception when dup_val_on_index then null; + exception when except_00955 then null; end; / declare dup_val_on_index exception; + except_00955 exception; + pragma exception_init (except_00955 , -00955); pragma exception_init (dup_val_on_index , -00001); begin execute immediate @@ -23,4 +29,5 @@ begin FOREIGN KEY (ORGAOCONCEDENTE_ID) REFERENCES ORGAO_CONCEDENTE (ORGAOCONCEDENTE_ID) ENABLE )'; exception when dup_val_on_index then null; + exception when except_00955 then null; end; \ No newline at end of file