AdmMono/src/db/migration/V20170905_2019__mantis9781.sql

126 lines
3.3 KiB
SQL

declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (RECEITA_EXCESSOBAGAGEM NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (RECEITA_SEGUROOPCIONAL NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (DESCONTOS_FIXOS NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (DESCONTOS_EVENTUAIS NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (ROYATIES NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (ISS_RETIDO NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (BONIFICACAO_METAS NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (ENTREGAS_PASSAGEM NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (RECEITA_BPR NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (DEVOLVIDOS NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (RECEITA_BRUTA_EXCESSOBAGAGEM NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (RECEITA_BRUTA_SEGUROOPCIONAL NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (RECEITA_OUTROS NUMBER(12,2))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE COMISSAO MODIFY (COMISSAO_BPR NUMBER(12,2))';
exception when column_exists then null;
end;