correção nos scripts
bug#15545 dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@98314 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
74711fb630
commit
514d4aa252
|
@ -0,0 +1,7 @@
|
|||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO MODIFY (INDCUOTANUNCALIBERAR DEFAULT 0)';
|
||||
exception when object_exists then null;
|
||||
end;
|
|
@ -0,0 +1,6 @@
|
|||
DO $$
|
||||
BEGIN
|
||||
ALTER TABLE CATEGORIA_DESCUENTO MODIFY (INDCUOTANUNCALIBERAR DEFAULT 0);
|
||||
EXCEPTION WHEN duplicate_column THEN NULL;
|
||||
END
|
||||
$$;
|
Loading…
Reference in New Issue