SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Indexed view to table replication. No errors but also no replication.


Indexed view to table replication. No errors but also no replication.

Author
Message
Dennis Post
Dennis Post
SSC Eights!
SSC Eights! (963 reputation)SSC Eights! (963 reputation)SSC Eights! (963 reputation)SSC Eights! (963 reputation)SSC Eights! (963 reputation)SSC Eights! (963 reputation)SSC Eights! (963 reputation)SSC Eights! (963 reputation)

Group: General Forum Members
Points: 963 Visits: 547
Hi,

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

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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search