fixes bug#21590

dev: Valdevir
qua: xxx



git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@105526 d1611594-4594-4d17-8e1d-87c2c4800839
master
aristides 2021-02-25 19:24:40 +00:00
parent 43e79be1d5
commit b4f96c40d8
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
declare
column_exists exception;
pragma exception_init (column_exists , -00001);
begin
execute immediate 'update
(select PF.INDLECTURA,PF.FECMODIF
from PERFIL_FUNCION PF
inner join FUNCION_SISTEMA FS on FS.FUNCIONSISTEMA_ID = PF.FUNCIONSISTEMA_ID
where FS.SISTEMA_ID=2 and PF.INDLECTURA=1) TB
SET TB.INDLECTURA=0,
TB.FECMODIF=SYSDATE';
exception when column_exists then null;
end;