How to: Create a Publication for SQL Server Compact Subscriptions (SQL Server Management Studio)
This topic provides instructions for creating a publication on SQL Server 2008 that replicates articles to the subscriber running SQL Server Compact 3.5.
To create a publication
Run the New Publication Wizard and follow the steps in "How to: Create a Publication and Define Articles (SQL Server Management Studio)" in SQL Server 2008 Books Online. As you move through the wizard, select the following options:
- On the Publication Type page, select Merge publication.
- On the SQL Server Compact 3.5 Subscribers page, select Yes.
- On the Articles page, select the tables you will publish. Only tables can be published to SQL Server Compact 3.5 subscribers.
- If you want to add a dynamic filter, on the Add Filter page, use the HOST_NAME() function in the filter statement.
Complete the wizard according to your needs.
See Also
Concepts
Publishing Data for SQL Server Compact Subscribers
Using Merge Replication