[firebase-br] Erro em update

Reijanio Nunes Ribeiro rnribeiro em gmail.com
Qui Mar 17 15:51:31 -03 2016


boa tarde gente estou meio agoniado com esse erro trigger alguém teria
alguma ideia de como resolver

CREATE OR ALTER TRIGGER TRG_LIMITE_MANIF FOR XML
INACTIVE AFTER INSERT OR UPDATE POSITION 0
AS
begin
if (inserting) then
 insert into xml(prazo_manif) select current_date + e.periodo_manif from
estados e where e.codigo = new.uf_origem;
 else
if (updating) then
 update xml set prazo_manif = (select current_date + e.periodo_manif from
estados e
 where e.codigo = new.uf_origem);-- where codxml= new.codxml;


end


da pau na parte do update
-- 
Reijanio Nunes Ribeiro
Desenvolvedor Delphi/Php
Suporte em TI



Mais detalhes sobre a lista de discussão lista