bug#13110

dev:Valdevir
qua:Renato

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@88626 d1611594-4594-4d17-8e1d-87c2c4800839
master
frederico 2019-01-08 19:06:45 +00:00
parent 6cabdf9946
commit a851750a50
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE FORMA_PAGO_DET ADD INDTOTALBUS NUMBER (1,0)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE FORMA_PAGO_DET ADD INDEMBARCADA NUMBER (1,0)';
exception when column_exists then null;
end;
/
UPDATE FORMA_PAGO_DET SET INDTOTALBUS = 1;
UPDATE FORMA_PAGO_DET SET INDEMBARCADA = 1;