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

CLIENTS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "CLIENTS_SetID" FOR CLIENTS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.CLIENTID IS NULL) THEN
    NEW.CLIENTID = GEN_ID(CLIENTIDGEN,1);
END

 

     Previous topic Chapter index Next topic