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

STORAGELOSSES_SETID

 

��������

(��� �������� ��� �������� STORAGELOSSES_SETID)

 

�����������

CREATE TRIGGER STORAGELOSSES_SETID FOR STORAGELOSSES
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.STORAGELOSSID IS NULL) THEN
    NEW.STORAGELOSSID = GEN_ID(STORAGELOSSIDGEN,1);
END

 

     Previous topic Chapter index Next topic