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

CROP_SetID

 

��������

(��� �������� ��� �������� CROP_SetID)

 

�����������

CREATE TRIGGER "CROP_SetID" FOR CROP
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  if (NEW.CROPID is null) then
    NEW.CROPID = GEN_ID(CropIDGen, 1);
END

 

     Previous topic Chapter index Next topic