fixes bug #8983
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69988 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
92eb0f7ceb
commit
0d7b5bdfd5
|
@ -0,0 +1,12 @@
|
|||
declare
|
||||
begin
|
||||
begin
|
||||
execute immediate 'INSERT INTO CONSTANTE(CONSTANTE_ID,NOMBCONSTANTE,DESCCONSTANTE,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID)
|
||||
VALUES(CONSTANTE_SEQ.nextval,''AUDITAR_SISTEMA'',''Auditoria do sistema'',1,''false'',1,1,sysdate,1)';
|
||||
exception when others then null;
|
||||
end;
|
||||
begin
|
||||
execute immediate 'UPDATE CONSTANTE SET VALORCONSTANTE = ''false'' WHERE NOMBCONSTANTE = ''AUDITAR_SISTEMA''';
|
||||
exception when others then null;
|
||||
end;
|
||||
end;
|
Loading…
Reference in New Issue