List all tables that are currently published for replication MS-SQL

user26901 picture user26901 · Mar 29, 2010 · Viewed 66.1k times · Source

I need to get a list of all tables that are published for replication from MS-SQL databases. Is there a system stored procedure or a query I could run to generate such a list?

Answer

AdaTheDev picture AdaTheDev · Mar 29, 2010

Yes:

SELECT *
FROM sys.tables
WHERE is_replicated = 1

From MSDN for is_replicated field:

1 = Table is published using snapshot replication or transactional replication.