AdmMono/src/db/migration/V20180827_2120__pafecf.sql

18 lines
455 B
SQL

declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE FISCAL_D2 ADD (DATAMOV VARCHAR2(8))';
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 (DATAMOV VARCHAR2(8))';
exception when column_exists then null;
end;