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

UWORDERS_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "UWORDERS_SetID" FOR UWORDERS
ACTIVE BEFORE INSERT POSITION 0
AS
declare variable cu varchar(38);
BEGIN
  IF (NEW.UWORDERID IS NULL) THEN
    NEW.UWORDERID = GEN_ID(UWORDERSIDGEN,1);
END

 

     Previous topic Chapter index Next topic