Beschreibung
Update-Trigger für die Replikation
Definition
CREATE TRIGGER SRE_HOURS_AFTER_UP FOR SRE_HOURS
INACTIVE AFTER UPDATE POSITION 0
as
begin
if ((USER <> 'REPLICATION') and (old.hrstatus = new.hrstatus)) then
begin
insert into replication (tid, tablename, modus, rtid, idname, reptime)
values (new.hrid, 'SRE_HOURS', 2, 54, 'HRID', 'now');
end
end
![]() ![]() ![]() |