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

IT_SetSilageUserID

 

Описание

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

 

Определение

CREATE TRIGGER "IT_SetSilageUserID" FOR IT
ACTIVE BEFORE INSERT OR UPDATE POSITION 0
AS
begin
  if (New.SilageID is not null and Inserting
     or New.SilageID <> Old.SilageID)
  then
    EXECUTE PROCEDURE Users_getid null Returning_values NEW.SilageUserID;
END

 

     Previous topic Chapter index Next topic