Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 » MobiLink - Client Administration » SQL Anywhere clients for MobiLink » Scripted upload

 

Scripted upload example

This example shows you how to set up a scripted upload that provides conflict detection. The example creates the consolidated and remote databases, stored procedures, publications and subscriptions that are required by scripted upload. This example is presented in such a way that you can either just read through it, or you can cut and paste the text to run the sample.

 Create the consolidated database
 Create the remote database
 Handle inserts
 Handle updates
 Handle deletes
 Clear out the pre-image table
 Create a publication, MobiLink user, and subscription
 Demonstrate the scripted upload
 Example cleanup