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

REPORTS_SET_REPORT_ID

 

Описание

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

 

Определение

CREATE TRIGGER REPORTS_SET_REPORT_ID FOR REPORTS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.REPORTID IS NULL) THEN
    NEW.REPORTID = GEN_ID(REPORTS_ID_GEN,1);
END

 

     Previous topic Chapter index Next topic