Chapter 4. Tutorialsfor Adaptive Server Anywhere Users
A sample publication
Thecommand file

salespub.sql

containsa set of statements that creates a
publicationon the sample database. Thispublication illustrates several of
thepoints of the tutorials, in more detail.
Toadd the publication to the sample database
1. Connect to the sample database from Interactive SQL.
2. In the SQL Statements pane, execute the following statement:
READ path\scripts\salespub.sql
where

path

isyour SQL Anywhere directory.
The

salespub.sql

publicationadds columns to some of the tables in the
sampledatabase, creates a publication and subscriptions, and also adds
triggersto resolve update conflicts that may occur.
51