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

USERS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "USERS_SetID" FOR USERS
ACTIVE BEFORE INSERT POSITION 0
AS BEGIN
  if (NEW.USERID is null) then
    NEW.USERID = GEN_ID(UserIDGen, 1);
END

 

     Previous topic Chapter index Next topic