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

SILAGESTATES_SetID

 

��������

(��� �������� ��� �������� SILAGESTATES_SetID)

 

�����������

CREATE TRIGGER "SILAGESTATES_SetID" FOR SILAGESTATES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.SILAGESTATEID IS NULL) THEN
    NEW.SILAGESTATEID = GEN_ID(SILAGESTATESIDGEN,1);
END

 

     Previous topic Chapter index Next topic