"localhost:/firebird/data/ILICHEVSK2.FDB". Триггеры Previous topic Chapter index Next topic

CLASS_SetID

 

Описание

(Нет описания для триггера CLASS_SetID)

 

Определение

CREATE TRIGGER "CLASS_SetID" FOR CLASS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  if (NEW.ClassID is null) then
    NEW.ClassID = GEN_ID(ClassIDGen, 1);
END

 

     Previous topic Chapter index Next topic