Again,you do not need to use the property sheets.
7. Savethe table.
8. In the Tables folder in the left pane, select the Customer table, then click
theForeign Keys tab in the right pane.
9. Fromthe File menu, choose New Foreign Key. Using the wizard, add a
foreignkey to the Rep_key column of the SalesRep table. Youcan use
thedefault settings for this foreign key.
Youare now ready for the rest of the tutorial.
Setting up a consolidated database
Thissection of the tutorial describes how to prepare the consolidated
databaseof a simple replication system.
Preparinga consolidated database for replication involves 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
outgoingmessages.
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.
Yourequire DBA authority to carry out these tasks.
Add a SQL Remote message type
Allmessages sent as part of replication use a message type. A message type
descriptionhas two parts:
Amessage link supported by SQL Remote. In this tutorial, we use the
FILElink.
Anaddress for this message link, to identify the source of outgoing
messages.
AdaptiveServer Anywhere databases already have message types created,
butyou need to supply an address for the message type you will use.
34