fixes bug#13428

dev:Valdevir
qua:Valdir

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@89357 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2019-01-29 14:43:29 +00:00
parent f99cd09905
commit 46c6e17574
2 changed files with 12 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 TARIFA ADD (FECHORINTEGRADOTOTVS DATE )';
exception when column_exists then null;
end;

View File

@ -0,0 +1,5 @@
DO $$
BEGIN
ALTER TABLE TARIFA ADD (FECHORINTEGRADOTOTVS DATE );
EXCEPTION WHEN duplicate_column THEN NULL;
$$;