fixes bug#13320

fixes bug#13317
fixes bug#13316
fixes bug#13304
fixes bug#13284
fixes bug#13283
dev:thiago
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@88952 d1611594-4594-4d17-8e1d-87c2c4800839
master
wilian 2019-01-16 21:19:39 +00:00
parent 3ba54411ba
commit 112a6d8b7a
4 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE TRANSACAO_KONDUTO ADD (PARADA_ID_VOLTA NUMBER(7))';
exception when column_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE TRANSACAO_KONDUTO ADD (NOMECARTAO VARCHAR(60), CLASESERVICIO_VOLTA VARCHAR(60))';
exception when column_exists then null;
end;

View File

@ -0,0 +1,6 @@
DO $$
BEGIN
ALTER TABLE TRANSACAO_KONDUTO ADD (PARADA_ID_VOLTA NUMBER(7))
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;

View File

@ -0,0 +1,6 @@
DO $$
BEGIN
ALTER TABLE TRANSACAO_KONDUTO ADD (NOMECARTAO VARCHAR(60), CLASESERVICIO_VOLTA VARCHAR(60))
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;