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

STATIONS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "STATIONS_SetID" FOR STATIONS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.STATIONID IS NULL) THEN
    NEW.STATIONID = GEN_ID(STATIONIDGEN,1);
END

 

     Previous topic Chapter index Next topic