To inform the MobiLink server on how to process the upload stream data received from the remote databases, you define upload scripts. You write separate scripts to handle rows that are updated, inserted, or deleted at the remote database. A simple implementation would perform corresponding actions (update, insert, delete) at the consolidated database.
The MobiLink server uploads data in a single transaction. For a description of the upload process, see Events during upload.
For techniques for uploading rows in .NET synchronization logic, see Uploading or downloading rows.
Following is an INSERT statement used only when emp_name is defined before emp_id in the remote database.
INSERT INTO emp (emp_name, emp_id) VALUES (?, ?);
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|