AdmMono/src/db/migration/V20190709_1449__mantis14533...

29 lines
1.0 KiB
SQL

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;