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

TRANSPORTPLANS_SETID

 

Описание

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

 

Определение

CREATE TRIGGER TRANSPORTPLANS_SETID FOR TRANSPORTPLANS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.TRANSPORTPLANID IS NULL) THEN
    NEW.TRANSPORTPLANID = GEN_ID(TRANSPORTPLANIDGEN,1);
END

 

     Previous topic Chapter index Next topic