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

RECIPES_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "RECIPES_SetID" FOR RECIPES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.RECIPEID IS NULL) THEN
    NEW.RECIPEID = GEN_ID(RECIPEIDGEN,1);
END

 

     Previous topic Chapter index Next topic