Contents Index Create directories for the tutorial Add a SQL Remote message type

Introducing SQL Anywhere Studio
  Tutorial: Replicating Data with SQL Remote

Lesson 2: Set up the consolidated database


This section shows you how to prepare the consolidated database of a simple SQL Remote replication system. You require DBA authority to do this.

To prepare a consolidated database for replication, this lesson takes you through the following steps:

  1. Create a message type to use for replication.

  2. Grant PUBLISH permissions to a user ID to identify the source of outgoing messages.

  3. Grant REMOTE permissions to all user IDs that are to receive messages.

  4. Create a publication describing the data to be replicated.

  5. Create subscriptions describing who is to receive the publication.


Add a SQL Remote message type
Add the publisher to the database
Add a remote user to the database
Add publications and subscriptions

Contents Index Create directories for the tutorial Add a SQL Remote message type