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.http://www.sqlservercentral.com/Forums/Topic447542-291-1.aspx#bm448403http://www.sqlservercentral.com/forums/Topic348632-291-1.aspx#bm599356
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