Trigger Previous topic Chapter index Next topic

NEW_REPID

 

Beschreibung

Trigger um den Primary Key zu setzen.

 

Definition

CREATE TRIGGER NEW_REPID FOR REPLICATION
ACTIVE BEFORE INSERT POSITION 0
AS 
BEGIN
  NEW.ID = GEN_ID(REP_GEN, 1);
END

 

     Previous topic Chapter index Next topic