I have single sql instance and I have created replication of my database in same instance. Now when I have inserted data into the tables I found out that replication of insert stored procedure is getting created in the replica database. This happens for delete and update also. So now my replica database has MSins, MSupd and MSdel for all of my tables available in database. How to stop this?
SQL Server Replication: MSins, MSdel, and MSupd Procedures Creation
sql serverssmsstored-procedurestransactional-replication
Related Question
- SQL Server – How to Recompile All Stored Procedures and Table-Valued Functions
- Sql-server – Transactional replication – Table / Stored Procedure changes coming over, but not new Tables / Stored Procedures
- Sql-server – How to check when a record is replicated in SQL Server
- SQL Server – Troubleshooting ‘My_publication’ Doesn’t Exist Error
- MySQL Stored Procedure from Trigger – Resolving Duplicate Results
- Sql-server – Get the last ID from Multiple Stored Procedures Executed
Best Answer
That's the default design for SQL Server subscribers. Those procedures get created and hidden as system stored procedures, so, they don't normally display. If you're doing queries and picking them up then be sure to exclude system objects.
You can modify it to use INSERT/UPDATE/etc which is the default for non-SQL Server subscribers by following the instructions from BOL.
... or ...