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

SERVICES_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "SERVICES_SetID" FOR SERVICES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.SERVICEID IS NULL) THEN
    NEW.SERVICEID = GEN_ID(SERVICESIDGEN,1);
END

 

     Previous topic Chapter index Next topic