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

SETORDERLOADID

 

Описание

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

 

Определение

CREATE TRIGGER SETORDERLOADID FOR ORDERLOAD
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.ORDERLOADID IS NULL) THEN
    NEW.ORDERLOADID = GEN_ID(ORDERLOADIDGEN,1);
  if (NEW.state is null) then NEW.state = 1;
END

 

     Previous topic Chapter index Next topic