fixed bug#13108
qua:Renato dev:Valdir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@88826 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e89defba7e
commit
d95f2303c0
|
@ -0,0 +1,23 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD INDVENDESEGUROOPCEMBARCADA NUMBER (1,0) DEFAULT 1';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD INDVENDESEGUROTABELAEMBARCADA NUMBER (1,0) DEFAULT 1';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD INDTAXAEMBARQUEEMBARCADA NUMBER (1,0) DEFAULT 1';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue