views:

507

answers:

3

I know a view is composed of tables. Can I replicate a view anyway?

A: 

What you want to do is replicate the table and create a view of the replicated table.

CptSkippy
+1  A: 

Yes.

You would need to add the view to the Publication (along with the underlying tables)

Mitch Wheat
A: 

Dear Cyrus,

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

Thanks, Atul

Atul