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:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install the latest cumulative updates for SQL Server:

References

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.