fixes bug#13702

dev:Frabricio
qua:Renato

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@91529 d1611594-4594-4d17-8e1d-87c2c4800839
master
aristides 2019-04-03 19:40:14 +00:00
parent 89add9508b
commit 20a0dcf7e8
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,6 @@ declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD INDTIPOCUPACAO NUMBER(1,0) DEFAULT 0';
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD INDTIPOOCUPACAO NUMBER(1,0) DEFAULT 0';
exception when column_exists then null;
end;

View File

@ -1,5 +1,5 @@
DO $$
BEGIN
ALTER TABLE CATEGORIA_DESCUENTO ADD INDTIPOCUPACAO NUMBER(1,0) DEFAULT 0;
ALTER TABLE CATEGORIA_DESCUENTO ADD INDTIPOOCUPACAO NUMBER(1,0) DEFAULT 0;
END
$$;