Описание
(Нет описания для триггера QUALITY_SetUser)
Определение
CREATE TRIGGER "QUALITY_SetUser" FOR QUALITY
ACTIVE BEFORE INSERT OR UPDATE POSITION 0
as
begin
-- if (new.createtime is null) then
new.createtime = current_timestamp;
-- if (new.userid is null) then
execute procedure Users_GetID(null) RETURNING_VALUES new.userid;
end