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

CONTRACTCOSTS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "CONTRACTCOSTS_SetID" FOR CONTRACTCOSTS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.CONTRACTCOSTID IS NULL) THEN
    NEW.CONTRACTCOSTID = GEN_ID(CONTRACTCOSTSIDGEN,1);
END

 

     Previous topic Chapter index Next topic