AdmMono/src/db/migration/V20161209_1500__mantis8393.sql

16 lines
434 B
SQL

declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CAJA ADD (FECHORVENTA_H DATE)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CAJA_DIVERSOS ADD (FECHORVTA_H DATE)';
exception when column_exists then null;
end;