fixed bug#17121

qua:
dev:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@99596 d1611594-4594-4d17-8e1d-87c2c4800839
master
frederico 2020-01-06 19:20:30 +00:00
parent 60e4761137
commit 61d47c5a32
1 changed files with 0 additions and 41 deletions

View File

@ -86,44 +86,3 @@ ADD CONSTRAINT FK_BOLETO_COTACAO
when except_02270 then null; when except_02270 then null;
when except_02261 then null; when except_02261 then null;
end; end;
/
declare
object_exists exception;
except_01451 exception;
except_01442 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_01451 , -01451);
pragma exception_init (except_01442 , -01442);
begin
execute immediate 'ALTER TABLE CAJA ADD COTACAO_ID NUMBER(7,0)';
exception
when object_exists then null;
when except_01451 then null;
when except_01442 then null;
end;
/
declare
object_exists exception;
except_02275 exception;
except_02270 exception;
except_02261 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_02275 , -02275);
pragma exception_init (except_02270 , -02270);
pragma exception_init (except_02261 , -02261);
begin
execute immediate 'ALTER TABLE CAJA
ADD CONSTRAINT FK_BOLETO_COTACAO
FOREIGN KEY (COTACAO_ID)
REFERENCES COTACAO (COTACAO_ID)';
exception
when object_exists then null;
when except_02275 then null;
when except_02270 then null;
when except_02261 then null;
end;