sqldbpool.com
Script to Enable/Disable Database for Replication
You can enable the database for replication using below script. If you have restore the database on test environment and you are getting the error that “Database is part of Replication”…