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

INVOICEREGISTERS_SETID

 

��������

(��� �������� ��� �������� INVOICEREGISTERS_SETID)

 

�����������

CREATE TRIGGER INVOICEREGISTERS_SETID FOR INVOICEREGISTERS
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
  IF (NEW.INVOICEREGISTERID IS NULL) THEN
    NEW.INVOICEREGISTERID = GEN_ID(INVOICEREGISTERS_IDGEN,1);
END

 

     Previous topic Chapter index Next topic