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

SUBCLASS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "SUBCLASS_SetID" FOR SUBCLASS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.SUBCLASSID IS NULL) THEN
    NEW.SUBCLASSID = GEN_ID(GEN_SUBCLASS_ID,1);
END

 

     Previous topic Chapter index Next topic