Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Indexed view to table replication. No errors but also no replication. Expand / Collapse
Posted Wednesday, February 6, 2013 8:17 AM


Group: General Forum Members
Last Login: Thursday, March 6, 2014 1:35 AM
Points: 175, Visits: 547

Yesterday I altered our Products table. Just added a nullable column.
This morning I was informed that products were not being replicated.

Turns out the replication was an Indexed View to Table. (Transactional).

To add the column to the view, it had to be removed from replication.
The publication only has this one indexed view as an article.

I dropped the publication, altered the view to included the new column then recreated the publication.

Replication monitor shows all is fine and log reader agent is showing new transactions with commands, yet the products table on the subscriber still shows old data.

The replication has been recreated many times with different options. In the article property the "Destination object name" is set to the table name on the subscriber.

The table only has 85,000 records. Snapshots are created in 14 seconds.

I have followed up these links, but couldn't resolve my problem.

Any idea's?

For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.

"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Post #1416534
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse