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

CORNFIELDS_SETID

 

Описание

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

 

Определение

CREATE TRIGGER CORNFIELDS_SETID FOR CORNFIELDS
ACTIVE BEFORE INSERT POSITION 0
as
begin
  if (new.CORNFIELDID is null) then
    new.CORNFIELDID = gen_id(CORNFIELDSIDGEN,1);
end

 

     Previous topic Chapter index Next topic