fixes bug#14453 bug#14829
dev: julio qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@95546 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
128b87aca2
commit
3322dc979d
|
@ -0,0 +1,226 @@
|
|||
declare column_exists exception; pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (cMunIni VARCHAR2(7))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (cMunFim VARCHAR2(7))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (UFIni VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (UFFim VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (nBP VARCHAR2(9))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (dhEmb VARCHAR2(25))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (CST00 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (CST20 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (CST45 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (CST90 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (CSTOutraUF VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (CSTSN VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vBC00 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (pICMS00 VARCHAR2(5))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vICMS00 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vBC20 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (pICMS20 VARCHAR2(5))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vICMS20 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vBP VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vDesconto VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vPgto VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (tpComp01 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (tpComp02 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (tpComp03 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (tpComp04 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (tpComp05 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (tpComp06 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (tpComp99 VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vComp01 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vComp02 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vComp03 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vComp04 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vComp05 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vComp06 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (vComp99 VARCHAR2(15))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (PREDBC VARCHAR2(5))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (CSTOUTRAUF VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin execute immediate 'ALTER TABLE BPE ADD (CSTSN VARCHAR2(2))';
|
||||
exception when column_exists then null;
|
||||
end;
|
Loading…
Reference in New Issue