Gravar registros de alias nas tabelas de boleto e caja

bug#11837
dev:trevezani
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@85606 d1611594-4594-4d17-8e1d-87c2c4800839
master
alberto 2018-09-24 21:24:51 +00:00
parent f813255d41
commit f76c16fa2f
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate
'ALTER TABLE BOLETO ADD (ORIGENA_ID NUMBER(7),DESTINOA_ID NUMBER(7))';
exception when object_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate
'ALTER TABLE CAJA ADD (ORIGENA_ID NUMBER(7),DESTINOA_ID NUMBER(7))';
exception when object_exists then null;
end;