fixes bug#23939

qua:
dev:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@110765 d1611594-4594-4d17-8e1d-87c2c4800839
master
aristides 2022-02-07 14:48:57 +00:00
parent 0117d05728
commit 4f6c36cda2
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'alter table ocd_param add(INDOCDFORMAPAGAMENTO NUMBER(1,0))';
exception when column_exists then null;
end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -00955);
begin
execute immediate 'UPDATE ocd_param SET INDOCDFORMAPAGAMENTO=0';
exception when object_exists then null;
end;
/