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

SQL Anywhere 17 » MobiLink - Server Administration » MobiLink events » Synchronization scripts

Script additions and deletions

When you use the Create Synchronization Model Wizard, scripts are automatically added to the consolidated database when you deploy the model.

When you create synchronization scripts outside SQL Central, you must add them to MobiLink system tables in the consolidated database. For SQL scripts, the entire script is saved in the MobiLink system table. For Java or .NET scripts, the method name is registered in the system table. The method for storing scripts and method names is similar.

If you are using SQL Central, you must add a script version to the database before you can add individual scripts.

Add or delete all types of scripts (system procedures)

You can add scripts to a consolidated database or delete scripts from a consolidated database using stored procedures that are installed when you set up your consolidated database.

The following stored procedures can be used to add or delete scripts:

  • ml_add_connection_script system procedure
  • ml_add_table_script system procedure
  • ml_add_dnet_connection_script system procedure
  • ml_add_dnet_table_script system procedure
  • ml_add_java_connection_script system procedure
  • ml_add_java_table_script system procedure