This lesson describes how to create a remote database for the tutorial and how to deploy a synchronization model to a consolidated database.
To set up a database
Create a directory for this tutorial. This tutorial assumes the directory is c:\tutorial. If you create a directory with a different name, use that directory throughout the tutorial.
Create an UltraLite database using Sybase Central with the following information. (For more information about creating a remote database, see Creating an UltraLite database from Sybase Central.)
Table name Customer
Columns
Column Name | Data Type (Size) | Column allows NULL values? | Default value |
---|---|---|---|
ID | integer | No | autoincrement |
GivenName | char(15) | No | None |
Surname | char(20) | No | None |
City | char(20) | Yes | None |
Phone | char(12) | Yes | None |
Street | char(50) | No | None |
Save the remote database file for the following platforms:
Windows: c:\tutorial\WIN32_OS\tutorial.udb
Windows Mobile: c:\tutorial\WIN32_CE\tutorial.udb
Palm: c:\tutorial\PALM_OS\tutorial.udb
To deploy a synchronization model
Create a synchronization model from Sybase Central. For more information about creating a synchronization model, see Creating models.
Use c:\tutorial as the work folder for the synchronization model file. For the Consolidated Database Schema page and the Remote Database Schema page, use the following settings:
Deploy a synchronization model from Sybase Central. For more information about deploying synchronization models, see Deploying models.
user name tutorial
password tutorial
A command file, tutorial_mlsrv.bat, should be generated when you complete the Deploy Synchronization Model Wizard. This command file will be used later in the tutorial.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |