Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

remove replication for only single database.

$
0
0

Hi All,

I need to remove replication for a single database (Remove replication on ABC database from SQL1 to SQL5.)

I did some research and found as follows:

DECLARE @subscriptionDB AS sysname SET @subscriptionDB = N'AdventureWorks2008R2Replica'

USE master EXEC sp_removedbreplication @subscriptionDB, will this help my requirement.

GO

Please help me in getting script to remove replication of particular database from server A to serverB.

Thanks in advance.


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>