Introducing SQL Anywhere Studio
Tutorial: Replicating Data with SQL Remote
Lesson 3: Set up the remote database
You need to extract a database from the consolidated database for remote user field.
Extract the remote database
Right-click the sample database asademo (DBA), and choose Extract Database from the popup menu.
The Extract Database wizard appears.
Click Next on the introductory page of the wizard.
Choose to extract the asademo database. Click Next.
Choose to extract at isolation level 3. Click Next.
Choose to Start Subscriptions Automatically for user field. Click Next.
Enter a location for the SQL file that will build the database. For example, choose c:\tutorial\field.sql. As well, choose to extract the structure and data (the default setting).
Choose to extract all parts of the schema and leave the maximum view dependency at its default setting. Click Next.
Choose not to Extract Fully Qualified Publication Definitions. Click Next.
Leave the location to save the data at its default value.
Choose Create and Reload Into the Following New Database, and enter a path and filename for the database. For example, c:\tutorial\field.db. Click Finish.
The Extracting Database window appears, displaying the progress of the extraction. When completed, close the window.
In a proper SQL Remote setup, the remote database field would be loaded on to the computer, together with a database server and any client applications required. For this tutorial, we leave the database where it is and use Interactive SQL to input and replicate data.