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