"localhost:/firebird/data/ILICHEVSK2.FDB". �������� Previous topic Chapter index Next topic

TRANSPORTPLANS_SETID

 

��������

(��� �������� ��� �������� TRANSPORTPLANS_SETID)

 

�����������

CREATE TRIGGER TRANSPORTPLANS_SETID FOR TRANSPORTPLANS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.TRANSPORTPLANID IS NULL) THEN
    NEW.TRANSPORTPLANID = GEN_ID(TRANSPORTPLANIDGEN,1);
END

 

     Previous topic Chapter index Next topic