Scenario 2

When the Replication Server reports that the status of a text, unitext, image, or rawobject column is do_not_replicate at the Adaptive Server database and the replication definition includes that column for replication and specifies either always_replicate or replicate_if_changed, take the following steps to resolve inconsistencies.


Setting do_not_replicate

If you do not want to replicate text, unitext, image, or rawobject columns:

  1. Stop updates to the primary table.

  2. Drop subscriptions to the replication definition.

  3. Drop the replication definition.

  4. Re-create the replication definition without the text, unitext, image, or rawobject columns, and re-create subscriptions.

  5. Resume updates to the primary table.


Setting always_replicate or replicate_if_changed

If you do want to replicate text, unitext, image, or rawobject columns:

  1. Execute sp_setrepcol at the Adaptive Server database and change the status of the text, unitext, image, or rawobject column to always_replicate or replicate_if_changed. It should match the status in the replication definition.

  2. Wait for subsequent transactions that modify the text, unitext, image, or rawobject column to be processed by the Replication Server.

  3. Consider correcting any inconsistencies with the rs_subcmp program. See “Verifying subscription consistency” for more information.