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

STORAGELOSSES_SETID

 

Описание

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

 

Определение

CREATE TRIGGER STORAGELOSSES_SETID FOR STORAGELOSSES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.STORAGELOSSID IS NULL) THEN
    NEW.STORAGELOSSID = GEN_ID(STORAGELOSSIDGEN,1);
END

 

     Previous topic Chapter index Next topic