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

INVOICES_SetID

 

Описание

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

 

Определение

CREATE TRIGGER "INVOICES_SetID" FOR INVOICES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.INVOICEID IS NULL) THEN
    NEW.INVOICEID = GEN_ID(INVOICEIDGEN,1);
END

 

     Previous topic Chapter index Next topic