fixes bug# AL-1379
qua: dev:gleimar "Comitado a correção do script, relacionado ao card 1340" git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114218 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
b4aab14544
commit
8acb3bf075
|
@ -0,0 +1,23 @@
|
|||
declare
|
||||
object_exists exception;
|
||||
except_00957 exception;
|
||||
pragma exception_init (object_exists , -01430);
|
||||
pragma exception_init (except_00957 , -00957);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE CAJA RENAME COLUMN SEQUENCIAROD TO SEQUENCIARODTAXACURITIBA';
|
||||
exception
|
||||
when object_exists then null;
|
||||
when except_00957 then null;
|
||||
end;
|
||||
/
|
||||
declare
|
||||
object_exists exception;
|
||||
except_00957 exception;
|
||||
pragma exception_init (object_exists , -01430);
|
||||
pragma exception_init (except_00957 , -00957);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE BOLETO RENAME COLUMN SEQUENCIAROD TO SEQUENCIARODTAXACURITIBA';
|
||||
exception
|
||||
when object_exists then null;
|
||||
when except_00957 then null;
|
||||
end;
|
Loading…
Reference in New Issue