Trigger Previous topic Chapter index Next topic

UNTERTITEL_RV

 

Beschreibung

Trigger für das RecordVersion Feld

 

Definition

CREATE TRIGGER UNTERTITEL_RV FOR UNTERTITEL
ACTIVE BEFORE UPDATE POSITION 0
AS
BEGIN
  IF (OLD.UTRECORDVERSION < 2147483637) THEN
    NEW.UTRECORDVERSION = OLD.UTRECORDVERSION + 1;
  ELSE
    NEW.UTRECORDVERSION = 1;
END

 

     Previous topic Chapter index Next topic