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-87c2c4800839master
parent
f813255d41
commit
f76c16fa2f
|
@ -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;
|
Loading…
Reference in New Issue