fixes bug#18646
dev:thiago.veloso qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@100802 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
978f307dcd
commit
056bc6b734
|
@ -0,0 +1,25 @@
|
||||||
|
declare
|
||||||
|
dup_val_on_index exception;
|
||||||
|
except_02291 exception;
|
||||||
|
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
pragma exception_init (except_02291 , -02291);
|
||||||
|
begin
|
||||||
|
execute immediate 'UPDATE RUTA_EMBRQ_DESEMBRQ SET PARADA_EMB_DES_ID = PARADA_ID WHERE PARADA_EMB_DES_ID IS NULL AND PARADA_ID IS NOT NULL';
|
||||||
|
exception
|
||||||
|
when dup_val_on_index then null;
|
||||||
|
when except_02291 then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
dup_val_on_index exception;
|
||||||
|
except_02291 exception;
|
||||||
|
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
pragma exception_init (except_02291 , -02291);
|
||||||
|
begin
|
||||||
|
execute immediate 'UPDATE ESQUEMA_CORRIDA_EMBRQ_DESEMBRQ SET PARADA_EMB_DES_ID = PARADA_ID WHERE PARADA_EMB_DES_ID IS NULL AND PARADA_ID IS NOT NULL';
|
||||||
|
exception
|
||||||
|
when dup_val_on_index then null;
|
||||||
|
when except_02291 then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue