How to: Control the Behavior of Triggers and Constraints During Synchronization (Replication Transact-SQL Programming)
During synchronization, replication agents execute INSERT (Transact-SQL), UPDATE (Transact-SQL), and DELETE (Transact-SQL) statements on replicated tables, which can cause data manipulation language (DML) triggers on these tables to be executed. There are cases when you may need to prevent these triggers from firing or constraints from being enforced during synchronization. This behavior depends on how the trigger or constraint is created.
When creating a new CHECK or FOREIGN KEY constraint, specify CHECK NOT FOR REPLICATION option in the constraint definition of CREATE TABLE (Transact-SQL).
Other ResourcesCreating and Modifying Tables
Controlling Constraints, Identities, and Triggers with NOT FOR REPLICATION