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

OBJECTS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "OBJECTS_SetID" FOR OBJECTS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.OBJID IS NULL) THEN
    NEW.OBJID = GEN_ID(OBJECTIDGEN,1);
END

 

     Previous topic Chapter index Next topic