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

STORAGE_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "STORAGE_SetID" FOR STORAGE
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.STORAGEID IS NULL) THEN
    NEW.STORAGEID = GEN_ID(STORAGEIDGEN,1);
END

 

     Previous topic Chapter index Next topic