



Publishing only some columns in a table

You can create a publication that contains all the rows, but only some of the columns of a table.


There is an existing remote database and you have the SYS_REPLICATION_ADMIN_ROLE system role.

Contexte et remarques

  • If you create two publications that include the same table with different column subsets, then you may only create a synchronization subscription for one of them.

  • An article must include all the primary key columns in the table.

  1. Connect to the remote database using the SQL Anywhere 16 plug-in.

  2. Double-click Publications.

  3. Click File » New » Publication.

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

  5. Click Next.

  6. On the Available Tables list, select a table. Click Add.

  7. Click Next.

  8. In the Available Columns list, expand the list of available columns. Select a column and click Add.

  9. Click Finish.


The selected columns are published.

 See also