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

TWEIGHTES_SetID

 

��������

(��� �������� ��� �������� TWEIGHTES_SetID)

 

�����������

CREATE TRIGGER "TWEIGHTES_SetID" FOR WEIGHTES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.WEIGHTID IS NULL) THEN
    NEW.WEIGHTID = GEN_ID(WEIGHTESIDGEN,1);
END

 

     Previous topic Chapter index Next topic