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

SHIPBUNKERS_SETID

 

Описание

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

 

Определение

CREATE TRIGGER SHIPBUNKERS_SETID FOR SHIPBUNKERS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.SHIPBUNKERID IS NULL) THEN
    NEW.SHIPBUNKERID = GEN_ID(SHIPBUNKERIDGEN,1);
END

 

     Previous topic Chapter index Next topic