How to make a script that will change all triggers in a database to be NOT FOR REPLICATION? Is there a system procedure for it or we need to parse its definition and inject NOT FOR REPLICATION?
How to change existing triggers to be with 'not for replication' in merge replication in SQL Server?
263 views Asked by Dejan Dozet At
1
Yes, manually, but first I would try this way:
And remained triggers I would do manually.
for this to work you will need: CLR Assembly RegEx Functions for SQL Server