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

SAP Sybase SQL Anywhere 16.0 » SQL Remote » Creating SQL Remote systems » Publications and articles » Publish only some rows in a table

 

Publishing only some rows using the SUBSCRIBE BY clause

Create a publication using the SUBSCRIBE BY clause.

Prérequis

You must have the SYS_REPLICATION_ADMIN_ROLE system role.

Contexte et remarques

For information about using the SUBSCRIBE BY clause and its alternative the WHERE clause, see Publish only some rows in a table.

 Task
  1. In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the consolidated database.

  2. In the left pane, double-click Publications.

  3. Click File » New » Publication.

  4. In the What Do You Want To Name The New Publication field, type a name for the publication. Click Next.

  5. Click Next.

  6. In the Available Tables list, click a table. Click Add. Click Next.

  7. On the Available Columns tab, click the table's icon to expand the list of Available Columns. Click each column you want to publish and click Add (use Ctrl-click to select multiple columns at a time). Click Next.

  8. Click Next.

  9. On the Specify SUBSCRIBE BY Restrictions page:

    1. Click a table in the Articles list.

    2. Click Column and click a column from the dropdown list.

  10. Click Finish.

Résultat

The publication is created as specified.

Suivant

Subscribe a user to the publication.

 See also