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

TRANSPORTTYPE_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "TRANSPORTTYPE_SetID" FOR TRANSPORTTYPE
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  if (NEW.TransportTypeID is null) then
    NEW.TransportTypeID = GEN_ID(TransportTypeIDGen, 1);
END

 

     Previous topic Chapter index Next topic