AJUSTES PAF 2018

bug#11562
dev:trevezani
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@84826 d1611594-4594-4d17-8e1d-87c2c4800839
master
alberto 2018-08-28 22:18:50 +00:00
parent 7cf39d17c2
commit 5b779c3833
1 changed files with 10 additions and 1 deletions

View File

@ -3,7 +3,16 @@ declare
pragma exception_init (column_exists , -01430); pragma exception_init (column_exists , -01430);
begin begin
execute immediate 'ALTER TABLE FISCAL_D3 ADD (BOLETO_ID NUMBER(15), PUNTOVENTA_ID NUMBER(7), CORRIDA_ID NUMBER(7), FECCORRIDA DATE)'; execute immediate 'ALTER TABLE FISCAL_D2 ADD (PUNTOVENTA_ID NUMBER(7), CORRIDA_ID NUMBER(7), FECCORRIDA DATE)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE FISCAL_D3 ADD (BOLETO_ID NUMBER(15))';
exception when column_exists then null; exception when column_exists then null;
end; end;