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-87c2c4800839master
parent
d926cf1e63
commit
e0f170ce00
|
@ -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;
|
|
@ -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
|
||||||
|
$$;
|
Loading…
Reference in New Issue