FIX: DML statements are unexpectedly replicated to the subscribers in SQL Server 2014 or 2016

Symptoms

When you synchronize the subscribers for a transactional replication in Microsoft SQL Server 2014 or 2016, some DML statements that should not be replicated are replicated to the subscribers. This issue occurs when the following conditions are true: 
  • You configure a transactional replication to replicate the execution of the stored procedure.
  • The stored procedure (marked for replication) creates a clustered index on a temporary table.


Resolution

The issue was first fixed in the following cumulative update of SQL Server:
Recommendation: Install the latest cumulative update for SQL Server

References

Learn about the terminology that Microsoft uses to describe software updates.

Properties

Article ID: 3176440 - Last Review: Sep 22, 2016 - Revision: 1

Feedback