Adding a Searchable Column

A searchable column lets you create subscriptions based on values in the column.

To add and take advantage of a searchable column:

  1. Use drop subscription to remove any subscriptions in which you want the where clause to include the added searchable column.
  2. Use alter replication definition to add the searchable column. For example:
    alter replication definition publishers_rep
    add searchable columns zip

    (This example makes the zip column searchable.)

    See Replication Server Reference Manual > Replication Server Commands > alter replication definition.

  3. Use create subscription to re-create subscriptions to the altered replication definition.
Related concepts
drop subscription Command
create subscription Command