bug#15545

dev: 
qua: 

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@98139 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2019-10-08 13:41:23 +00:00
parent cbc94367f1
commit 8ee55c5eb9
2 changed files with 13 additions and 0 deletions

View File

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

View File

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