53105 - Espec Regras de Arredondamento

bug#al-1226
dev:valdevir
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114262 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdir 2022-09-19 14:10:51 +00:00
parent 2028bf8f63
commit d4119845b1
1 changed files with 6 additions and 4 deletions

View File

@ -6,8 +6,9 @@ declare
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;
exception
when dup_val_on_index then null;
when except_00955 then null;
end;
/
declare
@ -28,6 +29,7 @@ begin
FOREIGN KEY (REDONDEOCTRL_ID) REFERENCES REDONDEO_CTRL (REDONDEOCTRL_ID) ENABLE,
FOREIGN KEY (ORGAOCONCEDENTE_ID) REFERENCES ORGAO_CONCEDENTE (ORGAOCONCEDENTE_ID) ENABLE
)';
exception when dup_val_on_index then null;
exception when except_00955 then null;
exception
when dup_val_on_index then null;
when except_00955 then null;
end;