fixes bug #10389

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@77607 d1611594-4594-4d17-8e1d-87c2c4800839
master
wilian 2017-12-28 19:53:44 +00:00
parent c8e67c131f
commit d7bbea0f2e
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE MOTIVO_CANCELACION ADD INDEXIBECANCEL NUMBER(1)';
exception when column_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'UPDATE MOTIVO_CANCELACION SET INDEXIBECANCEL = 1, FECMODIF = SYSDATE WHERE MOTIVOCANCELACION_ID IN (32,31,37,36)';
exception when column_exists then null;
end;