bug#AL-1340

qua: marcelo
dev: julio

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114101 d1611594-4594-4d17-8e1d-87c2c4800839
master
walace 2022-09-08 19:37:08 +00:00
parent d926cf1e63
commit e0f170ce00
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,16 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CAJA ADD (SEQUENCIAROD NUMBER(10))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE BOLETO ADD (SEQUENCIAROD NUMBER(10))';
exception when column_exists then null;
end;

View File

@ -0,0 +1,17 @@
DO $$
BEGIN
ALTER TABLE BOLETO ADD SEQUENCIARODTAXACURITIBA NUMERIC(10) ;
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;
/
DO $$
BEGIN
ALTER TABLE CAJA ADD SEQUENCIARODTAXACURITIBA NUMERIC(10) ;
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;