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

SQL Anywhere 10.0.1 » MobiLink - Server Administration » MobiLink Server System Procedures

MobiLink Server System Procedures Next Page

MobiLink system procedures


MobiLink provides the following stored procedures to help you create your applications.

System procedures to add or delete scripts

You must add synchronization scripts to system tables in the consolidated database before you can use them. The following system procedures add or delete synchronization scripts in the consolidated database:

When you use the MobiLink server API for Java or .NET, you use these stored procedures to register a method as the script for an event, so that the method is run when the event occurs. You can also use them to unregister your methods.

When you add a script using a system procedure, the script is a string. Any strings within the script need to be escaped. For SQL Anywhere, each quotation mark (') needs to be doubled so as not to terminate the string.

You cannot use system procedures to add scripts longer than 255 bytes to Adaptive Server Enterprise 11.5 or earlier. Instead, use Sybase Central or direct insertion to define longer scripts.

IBM DB2 UDB prior to version 6 only supports column names and other identifiers of 18 characters or less, and so the names are truncated. For example, ml_add_connection_script is shortened to ml_add_connection_.

Other system procedures

ml_add_column
ml_add_connection_script
ml_add_dnet_connection_script
ml_add_dnet_table_script
ml_add_java_connection_script
ml_add_java_table_script
ml_add_lang_connection_script
ml_add_lang_connection_script_chk
ml_add_property
ml_add_user
ml_delete_sync_state
ml_delete_sync_state_before
ml_delete_user
ml_add_table_script
ml_reset_sync_state
ml_set_sis_sync_state