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
master
valdir 2022-09-19 12:35:21 +00:00
parent 6ff84d07d9
commit 2028bf8f63
1 changed files with 7 additions and 0 deletions

View File

@ -1,13 +1,19 @@
declare declare
dup_val_on_index exception; dup_val_on_index exception;
except_00955 exception;
pragma exception_init (except_00955 , -00955);
pragma exception_init (dup_val_on_index , -00001); pragma exception_init (dup_val_on_index , -00001);
begin 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'; 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 dup_val_on_index then null;
exception when except_00955 then null;
end; end;
/ /
declare declare
dup_val_on_index exception; dup_val_on_index exception;
except_00955 exception;
pragma exception_init (except_00955 , -00955);
pragma exception_init (dup_val_on_index , -00001); pragma exception_init (dup_val_on_index , -00001);
begin begin
execute immediate execute immediate
@ -23,4 +29,5 @@ begin
FOREIGN KEY (ORGAOCONCEDENTE_ID) REFERENCES ORGAO_CONCEDENTE (ORGAOCONCEDENTE_ID) ENABLE FOREIGN KEY (ORGAOCONCEDENTE_ID) REFERENCES ORGAO_CONCEDENTE (ORGAOCONCEDENTE_ID) ENABLE
)'; )';
exception when dup_val_on_index then null; exception when dup_val_on_index then null;
exception when except_00955 then null;
end; end;