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

CROP_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "CROP_SetID" FOR CROP
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  if (NEW.CROPID is null) then
    NEW.CROPID = GEN_ID(CropIDGen, 1);
END

 

     Previous topic Chapter index Next topic