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

REGIONS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "REGIONS_SetID" FOR REGIONS
ACTIVE BEFORE INSERT POSITION 0
AS
begin
  if (new.Regionid is null) then
    new.Regionid = GEN_ID(RegionsIDGen, 1);
end

 

     Previous topic Chapter index Next topic