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

INVOICEREGISTERS_SETID

 

Описание

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

 

Определение

CREATE TRIGGER INVOICEREGISTERS_SETID FOR INVOICEREGISTERS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.INVOICEREGISTERID IS NULL) THEN
    NEW.INVOICEREGISTERID = GEN_ID(INVOICEREGISTERS_IDGEN,1);
END

 

     Previous topic Chapter index Next topic