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

TWEIGHTES_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "TWEIGHTES_SetID" FOR WEIGHTES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.WEIGHTID IS NULL) THEN
    NEW.WEIGHTID = GEN_ID(WEIGHTESIDGEN,1);
END

 

     Previous topic Chapter index Next topic