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

PARTIES_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "PARTIES_SetID" FOR PARTIES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.PARTYID IS NULL) THEN
    NEW.PARTYID = GEN_ID(PARTIESIDGEN,1);
END

 

     Previous topic Chapter index Next topic