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

CONTRACTS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "CONTRACTS_SetID" FOR CONTRACTS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.CONTRACTID IS NULL) THEN
    NEW.CONTRACTID = GEN_ID(CONTRACTSIDGEN,1);
END

 

     Previous topic Chapter index Next topic