Contents Index Publishing only some columns in a table Publishing only some rows using a WHERE clause

SQL Remote User's Guide
  SQL Remote Design for Adaptive Server Anywhere
    Publishing data

Publishing only some rows in a table


You can create a publication that contains all the columns, but only some of the rows, of a table from Sybase Central. In either case, you do so by writing a search condition that matches only the rows you want to publish.

Sybase Central and the SQL language provide two ways of publishing only some of the rows in a table; however, only one way is compatible with MobiLink.

You can combine a WHERE clause and a subscription expression in an article. You can specify them in Sybase Central or in a CREATE PUBLICATION statement.

Use the Subscription expression when different subscribers to a publication are to receive different rows from a table. The Subscription expression is the most powerful method of partitioning tables.

Use the WHERE clause to exclude the same set of rows from all subscriptions to a publication.


Contents Index Publishing only some columns in a table Publishing only some rows using a WHERE clause