fixes bug#23939
qua: dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@110765 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0117d05728
commit
4f6c36cda2
|
@ -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;
|
||||||
|
/
|
Loading…
Reference in New Issue