I am assessing the migration from SQL 2008R2 to SQL 2017 AlwaysOn where we have replication (publisher, subscriber, distributor) setup on SQL2008R2.
There are various restrictions if one wants to setup Replication on top of AlwaysOn..For e.g below
-
Merge replication is not supported.
-
Transactional replication with immediate or queued updating subscriber is not supported.
-
Peer to peer replication is not supported.
-
Bidirectional transactional replication is not supported.
Does anybody have any simple select script which can confirm that my replication setup on SQL 2008R2 is anything out of the above type?
I tried checking "mspublication" table but that isn't providing any guidance to confirm whether my replication setup is out of the above 4 types.
I don't have access on client's SQL instances so want to provide them simple select statement.
Best Answer
This answer has been copied from the accepted answer on this question of Stack Ovweflow:
How to determine the SQL Server replication type by TSQL?
Run the following query on the distribution database:
Publication_type:
Update_mode