fixes bug#11107
dev:thiago qua:junia git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@81789 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e7a9afb494
commit
8898f0a3f0
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE BOLETO ADD (NUM_BPE VARCHAR2(9))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE CAJA ADD (NUM_BPE VARCHAR2(9))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
dup_val_on_index exception;
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
begin
|
||||||
|
execute immediate 'UPDATE BOLETO SET NUM_BPE = NUMFOLIOSISTEMA WHERE NUMSERIE_BPE IS NOT NULL';
|
||||||
|
exception when dup_val_on_index then null;
|
||||||
|
end;
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
dup_val_on_index exception;
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
begin
|
||||||
|
execute immediate 'UPDATE CAJA SET NUM_BPE = NUMFOLIOSISTEMA WHERE NUMSERIE_BPE IS NOT NULL';
|
||||||
|
exception when dup_val_on_index then null;
|
||||||
|
end;
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE EMPRESA ADD INDEMITEBPEVDAIMPPOSTERIOR NUMBER(1,0) DEFAULT 1';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue