I know a view is composed of tables. Can I replicate a view anyway?
Asked
Active
Viewed 2.6k times
3 Answers
6
For SQL SERVER 2008
Have a look at the link http://msdn.microsoft.com/en-us/library/ms152559.aspx. This explains all the objects that can be replicated.
For SQL Server 2005
http://msdn.microsoft.com/en-us/library/ms152559(SQL.90).aspx
2
Yes.
You would need to add the view to the Publication (along with the underlying tables)

Mitch Wheat
- 295,962
- 43
- 465
- 541
-1
What you want to do is replicate the table and create a view of the replicated table.

MyItchyChin
- 13,733
- 1
- 24
- 44
-
4While that is an option, you can also replicate just the view. See replicating "Indexed Views as Tables" in http://msdn.microsoft.com/en-us/library/ms152559.aspx – Jonathan Allen Feb 09 '12 at 22:16