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-87c2c4800839master
parent
6ff84d07d9
commit
2028bf8f63
|
@ -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;
|
Loading…
Reference in New Issue