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

SHIPS_SETID

 

Описание

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

 

Определение

CREATE TRIGGER SHIPS_SETID FOR SHIPS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.SHIPID IS NULL) THEN
    NEW.SHIPID = GEN_ID(SHIPSIDGEN,1);
END

 

     Previous topic Chapter index Next topic