fixes bug#19260
dev: xxx qua: xxx Corrigindo script git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@101710 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
c83cec7a30
commit
484eff08ac
|
@ -7,9 +7,13 @@ begin
|
||||||
end;
|
end;
|
||||||
|
|
||||||
declare
|
declare
|
||||||
object_exists exception;
|
dup_val_on_index exception;
|
||||||
pragma exception_init (object_exists , -01430);
|
except_02291 exception;
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
pragma exception_init (except_02291 , -02291);
|
||||||
begin
|
begin
|
||||||
execute immediate 'UPDATE CATEGORIA SET INDVENDEAPI = 1 WHERE CATEGORIA_ID = 1';
|
execute immediate 'UPDATE CATEGORIA SET INDVENDEAPI = 1 WHERE CATEGORIA_ID = 1';
|
||||||
exception when object_exists then null;
|
exception
|
||||||
|
when dup_val_on_index then null;
|
||||||
|
when except_02291 then null;
|
||||||
end;
|
end;
|
Loading…
Reference in New Issue