Trigger Previous topic Chapter index Next topic

SRE_BLOCKS_AFTER_DEL

 

Beschreibung

Delete-Trigger für die Replikation

 

Definition

CREATE TRIGGER SRE_BLOCKS_AFTER_DEL FOR SRE_BLOCKS
INACTIVE AFTER DELETE POSITION 0
as
begin 
  if (USER <> 'REPLICATION') then 
  begin
    insert into replication (tid,      tablename,    modus, rtid, idname, reptime) 
    values                  (old.blid, 'SRE_BLOCKS', 3,     52,   'BLID', 'now');
  end
end

 

     Previous topic Chapter index Next topic