Chapter 4. Tutorialsfor Adaptive Server Anywhere Users
Youneed to extract a database from the consolidated database for remote
userfield_user.
Toextract a database
1. Connect to the HQ database.
2. Right-click the database and choose Extract Database from the popup
menu.
3. Choose to extract the HQ database with the following options:
Chooseto extract at isolation level 3.
Chooseto Start Subscriptions Automatically, for user field_user.
ChooseExtract and Reload into a New Database.
Leavethe reload file location at its default setting.
Chooseto extract both structure and data.
Choosenot to extract fully-qualified publication definitions.
Createthe database as file
c:\tutorial\field.db
,and click Finish to create
theremote database.
Ina proper SQL Remote setup, the remote database field would need to be
loadedon to the computer using it, together with an Adaptive Server
Anywhereserver and any client applications required. Forthis tutorial, we
leavethe database where it is and use Interactive SQL to input and replicate
data.
Youshould connect to the field database as DBA and confirm that all the
databaseobjects are created. Theseinclude the SalesRep and Customer
tables,the SalesRepData publication, and the subscription for the
consolidateddatabase.
Whatnext? Thesystem is now ready for replication.
Forthe next step, inserting and replicating data, see the section “Start
replicatingdata” on page 47.
39