AdmMono/src/db/migration/V20170826_1700__mantis9608.sql

17 lines
444 B
SQL

declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CAJA ADD (FOLIORMD VARCHAR2(20))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CAJA ADD (RMD_ID NUMBER(15))';
exception when column_exists then null;
end;
/