Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Remote » Replication Design for SQL Remote » SQL Remote installation design » Partitioning tables that do not contain the subscription expression

 

Partitioning the Customers table in the Contacts example

The Customers table can be partitioned using the rep_key value as a subscription expression. A publication that includes the SalesReps and Customers tables would be as follows:

CREATE PUBLICATION SalesRepData (
   TABLE SalesReps
   TABLE Customers SUBSCRIBE BY rep_key
);