fixed bug#13109

qua:Marcelo
dev:Thiago

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@89133 d1611594-4594-4d17-8e1d-87c2c4800839
master
frederico 2019-01-22 12:47:11 +00:00
parent c9007d6af5
commit 4f69420d30
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD INDTOTALBUS 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_CAT_IND ADD INDEMBARCADA NUMBER (1,0) DEFAULT 1';
exception when column_exists then null;
end;