AdmMono/src/db/backup/oracle/V20230331_0808__AL-2209.sql

23 lines
690 B
SQL

declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE FORMA_PAGO ADD (INDPERCENTUALDESCONTO NUMBER(1,0))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE FORMA_PAGO ADD (VALORDESCONTO NUMBER(10,0))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE FORMA_PAGO ADD (PERCENTUALDESCONTO NUMBER(10,0))';
exception when column_exists then null;
end;