Описание
(Нет описания для триггера 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